summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorHeiki Ojasild <repentinus@fsfe.org>2013-05-12 05:50:52 +0000
committerHeiki Ojasild <repentinus@fsfe.org>2013-05-12 05:50:52 +0000
commit07acb6f7b6f2202a2c388eb4c27eed4617633314 (patch)
tree11be7f80f6e74b0ab0214905f249bcb90d0ecbd0
parent04d282fae3b89d2a86c66894f7b88bfbc3db29fe (diff)
Fixed misleading comments identifying the colours
Replaced incorrect numbers (16 to 31) for mIRC colours with the correct ones (0 to 15).
-rw-r--r--src/fe-gtk/palette.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/fe-gtk/palette.c b/src/fe-gtk/palette.c
index 7507cbf4..f40fd8b4 100644
--- a/src/fe-gtk/palette.c
+++ b/src/fe-gtk/palette.c
@@ -39,22 +39,22 @@
 
 GdkColor colors[] = {
 	/* colors for xtext */
-	{0, 0xd3d3, 0xd7d7, 0xcfcf}, /* 16 white */
-	{0, 0x2e2e, 0x3434, 0x3636}, /* 17 black */
-	{0, 0x3434, 0x6565, 0xa4a4}, /* 18 blue */
-	{0, 0x4e4e, 0x9a9a, 0x0606}, /* 19 green */
-	{0, 0xcccc, 0x0000, 0x0000}, /* 20 red */
-	{0, 0x8f8f, 0x3939, 0x0202}, /* 21 light red */
-	{0, 0x5c5c, 0x3535, 0x6666}, /* 22 purple */
-	{0, 0xcece, 0x5c5c, 0x0000}, /* 23 orange */
-	{0, 0xc4c4, 0xa0a0, 0x0000}, /* 24 yellow */
-	{0, 0x7373, 0xd2d2, 0x1616}, /* 25 green */
-	{0, 0x1111, 0xa8a8, 0x7979}, /* 26 aqua */
-	{0, 0x5858, 0xa1a1, 0x9d9d}, /* 27 light aqua */
-	{0, 0x5757, 0x7979, 0x9e9e}, /* 28 blue */
-	{0, 0xa0d0, 0x42d4, 0x6562}, /* 29 light purple */
-	{0, 0x5555, 0x5757, 0x5353}, /* 30 grey */
-	{0, 0x8888, 0x8a8a, 0x8585}, /* 31 light grey */
+	{0, 0xd3d3, 0xd7d7, 0xcfcf}, /* 0 white */
+	{0, 0x2e2e, 0x3434, 0x3636}, /* 1 black */
+	{0, 0x3434, 0x6565, 0xa4a4}, /* 2 blue */
+	{0, 0x4e4e, 0x9a9a, 0x0606}, /* 3 green */
+	{0, 0xcccc, 0x0000, 0x0000}, /* 4 red */
+	{0, 0x8f8f, 0x3939, 0x0202}, /* 5 light red */
+	{0, 0x5c5c, 0x3535, 0x6666}, /* 6 purple */
+	{0, 0xcece, 0x5c5c, 0x0000}, /* 7 orange */
+	{0, 0xc4c4, 0xa0a0, 0x0000}, /* 8 yellow */
+	{0, 0x7373, 0xd2d2, 0x1616}, /* 9 green */
+	{0, 0x1111, 0xa8a8, 0x7979}, /* 10 aqua */
+	{0, 0x5858, 0xa1a1, 0x9d9d}, /* 11 light aqua */
+	{0, 0x5757, 0x7979, 0x9e9e}, /* 12 blue */
+	{0, 0xa0d0, 0x42d4, 0x6562}, /* 13 light purple */
+	{0, 0x5555, 0x5757, 0x5353}, /* 14 grey */
+	{0, 0x8888, 0x8a8a, 0x8585}, /* 15 light grey */
 
 	{0, 0xd3d3, 0xd7d7, 0xcfcf}, /* 16 white */
 	{0, 0x2e2e, 0x3434, 0x3636}, /* 17 black */