Mercurial > emacs
diff src/macfns.c @ 49503:443e3f602fc2
2003-01-28 Andrew Choi <akochoi@shaw.ca>
* macfns.c (x_to_mac_color): Correct the order for parsing the RGB
values in old-style RGB specs.
author | Andrew Choi <akochoi@shaw.ca> |
---|---|
date | Tue, 28 Jan 2003 17:30:12 +0000 |
parents | ab2d537c76d4 |
children | a62497b91c74 d7ddb3e565de |
line wrap: on
line diff
--- 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;