Mercurial > emacs
changeset 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 | 692aaddf484f |
children | 0ffb4e489776 |
files | src/ChangeLog src/macfns.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 <akochoi@shaw.ca> + + * macfns.c (x_to_mac_color): Correct the order for parsing the RGB + values in old-style RGB specs. + 2003-01-27 Juanma Barranquero <lektu@terra.es> * w32fns.c (init_external_image_libraries): Try alternate names for the
--- 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;