# HG changeset patch # User Andrew Choi # Date 1043775012 0 # Node ID 443e3f602fc2cfe4407f3acec745bf85a6b56a53 # Parent 692aaddf484ff4e2ffd92bfe94ebc526c4760d20 2003-01-28 Andrew Choi * macfns.c (x_to_mac_color): Correct the order for parsing the RGB values in old-style RGB specs. diff -r 692aaddf484f -r 443e3f602fc2 src/ChangeLog --- a/src/ChangeLog Tue Jan 28 12:08:36 2003 +0000 +++ b/src/ChangeLog Tue Jan 28 17:30:12 2003 +0000 @@ -1,3 +1,8 @@ +2003-01-28 Andrew Choi + + * macfns.c (x_to_mac_color): Correct the order for parsing the RGB + values in old-style RGB specs. + 2003-01-27 Juanma Barranquero * w32fns.c (init_external_image_libraries): Try alternate names for the diff -r 692aaddf484f -r 443e3f602fc2 src/macfns.c --- a/src/macfns.c Tue Jan 28 12:08:36 2003 +0000 +++ b/src/macfns.c Tue Jan 28 17:30:12 2003 +0000 @@ -1837,7 +1837,7 @@ { unsigned long colorval; int i, pos; - pos = 0; + pos = 16; size /= 3; colorval = 0; @@ -1873,7 +1873,7 @@ break; } colorval |= (value << pos); - pos += 0x8; + pos -= 8; if (i == 2) { UNBLOCK_INPUT;