From 3b1791fa157fb9abdbc6de8de84406c69a07e31d Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sun, 13 Nov 2011 15:47:27 -0500 Subject: [PATCH] 80 char limit fix. --- headers/private/app/ServerReadOnlyMemory.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/headers/private/app/ServerReadOnlyMemory.h b/headers/private/app/ServerReadOnlyMemory.h index 477ee4c07b..6ceadfde25 100644 --- a/headers/private/app/ServerReadOnlyMemory.h +++ b/headers/private/app/ServerReadOnlyMemory.h @@ -40,8 +40,10 @@ index_to_color_which(int32 index) if (index >= 0 && index < kNumColors) { if ((color_which)index < B_WINDOW_INACTIVE_BORDER_COLOR) return (color_which)(index + 1); - else - return (color_which)(index + B_SUCCESS_COLOR - B_WINDOW_INACTIVE_BORDER_COLOR); + else { + return (color_which)(index + B_SUCCESS_COLOR + - B_WINDOW_INACTIVE_BORDER_COLOR); + } } return (color_which)-1;