Fixed misleading comments identifying the colours

Replaced incorrect numbers (16 to 31) for mIRC colours with the correct ones (0 to 15).
This commit is contained in:
Heiki Ojasild 2013-05-12 05:50:52 +00:00
parent 04d282fae3
commit 07acb6f7b6

View File

@ -39,22 +39,22 @@
GdkColor colors[] = { GdkColor colors[] = {
/* colors for xtext */ /* colors for xtext */
{0, 0xd3d3, 0xd7d7, 0xcfcf}, /* 16 white */ {0, 0xd3d3, 0xd7d7, 0xcfcf}, /* 0 white */
{0, 0x2e2e, 0x3434, 0x3636}, /* 17 black */ {0, 0x2e2e, 0x3434, 0x3636}, /* 1 black */
{0, 0x3434, 0x6565, 0xa4a4}, /* 18 blue */ {0, 0x3434, 0x6565, 0xa4a4}, /* 2 blue */
{0, 0x4e4e, 0x9a9a, 0x0606}, /* 19 green */ {0, 0x4e4e, 0x9a9a, 0x0606}, /* 3 green */
{0, 0xcccc, 0x0000, 0x0000}, /* 20 red */ {0, 0xcccc, 0x0000, 0x0000}, /* 4 red */
{0, 0x8f8f, 0x3939, 0x0202}, /* 21 light red */ {0, 0x8f8f, 0x3939, 0x0202}, /* 5 light red */
{0, 0x5c5c, 0x3535, 0x6666}, /* 22 purple */ {0, 0x5c5c, 0x3535, 0x6666}, /* 6 purple */
{0, 0xcece, 0x5c5c, 0x0000}, /* 23 orange */ {0, 0xcece, 0x5c5c, 0x0000}, /* 7 orange */
{0, 0xc4c4, 0xa0a0, 0x0000}, /* 24 yellow */ {0, 0xc4c4, 0xa0a0, 0x0000}, /* 8 yellow */
{0, 0x7373, 0xd2d2, 0x1616}, /* 25 green */ {0, 0x7373, 0xd2d2, 0x1616}, /* 9 green */
{0, 0x1111, 0xa8a8, 0x7979}, /* 26 aqua */ {0, 0x1111, 0xa8a8, 0x7979}, /* 10 aqua */
{0, 0x5858, 0xa1a1, 0x9d9d}, /* 27 light aqua */ {0, 0x5858, 0xa1a1, 0x9d9d}, /* 11 light aqua */
{0, 0x5757, 0x7979, 0x9e9e}, /* 28 blue */ {0, 0x5757, 0x7979, 0x9e9e}, /* 12 blue */
{0, 0xa0d0, 0x42d4, 0x6562}, /* 29 light purple */ {0, 0xa0d0, 0x42d4, 0x6562}, /* 13 light purple */
{0, 0x5555, 0x5757, 0x5353}, /* 30 grey */ {0, 0x5555, 0x5757, 0x5353}, /* 14 grey */
{0, 0x8888, 0x8a8a, 0x8585}, /* 31 light grey */ {0, 0x8888, 0x8a8a, 0x8585}, /* 15 light grey */
{0, 0xd3d3, 0xd7d7, 0xcfcf}, /* 16 white */ {0, 0xd3d3, 0xd7d7, 0xcfcf}, /* 16 white */
{0, 0x2e2e, 0x3434, 0x3636}, /* 17 black */ {0, 0x2e2e, 0x3434, 0x3636}, /* 17 black */