summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--2048.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/2048.c b/2048.c
index 48c13cb..9b8a3a4 100644
--- a/2048.c
+++ b/2048.c
@@ -158,18 +158,18 @@ static void curse(void) {
 	start_color();
 	use_default_colors();
 	short bright = (COLORS > 8 ? 8 : 0);
-	init_pair(1,  COLOR_WHITE, COLOR_RED);
-	init_pair(2,  COLOR_WHITE, COLOR_GREEN);
-	init_pair(3,  COLOR_WHITE, COLOR_YELLOW);
-	init_pair(4,  COLOR_WHITE, COLOR_BLUE);
-	init_pair(5,  COLOR_WHITE, COLOR_MAGENTA);
-	init_pair(6,  COLOR_WHITE, COLOR_CYAN);
-	init_pair(7,  COLOR_WHITE, bright + COLOR_RED);
-	init_pair(8,  COLOR_WHITE, bright + COLOR_GREEN);
-	init_pair(9,  COLOR_WHITE, bright + COLOR_YELLOW);
-	init_pair(10, COLOR_WHITE, bright + COLOR_BLUE);
-	init_pair(11, COLOR_WHITE, bright + COLOR_MAGENTA);
-	init_pair(12, COLOR_WHITE, bright + COLOR_CYAN);
+	init_pair(1,  bright + COLOR_WHITE, COLOR_RED);
+	init_pair(2,  bright + COLOR_WHITE, COLOR_GREEN);
+	init_pair(3,  bright + COLOR_WHITE, COLOR_YELLOW);
+	init_pair(4,  bright + COLOR_WHITE, COLOR_BLUE);
+	init_pair(5,  bright + COLOR_WHITE, COLOR_MAGENTA);
+	init_pair(6,  bright + COLOR_WHITE, COLOR_CYAN);
+	init_pair(7,  bright + COLOR_WHITE, bright + COLOR_RED);
+	init_pair(8,  bright + COLOR_WHITE, bright + COLOR_GREEN);
+	init_pair(9,  bright + COLOR_WHITE, bright + COLOR_YELLOW);
+	init_pair(10, bright + COLOR_WHITE, bright + COLOR_BLUE);
+	init_pair(11, bright + COLOR_WHITE, bright + COLOR_MAGENTA);
+	init_pair(12, bright + COLOR_WHITE, bright + COLOR_CYAN);
 	init_pair(13, COLOR_WHITE, COLOR_BLACK);
 }