diff options
| author | Andrew Choi <akochoi@shaw.ca> | 2003-01-28 17:30:12 +0000 |
|---|---|---|
| committer | Andrew Choi <akochoi@shaw.ca> | 2003-01-28 17:30:12 +0000 |
| commit | 385f11cf3577d72617f2cb1f863d1b80d0b202bf (patch) | |
| tree | e9db7239aa7ddadf40ec993065ebb18c8e602450 /src/macfns.c | |
| parent | d656c0bc64b5b8cc29c1e0a6809cd4b43e670811 (diff) | |
| download | emacs-385f11cf3577d72617f2cb1f863d1b80d0b202bf.tar.gz | |
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.
Diffstat (limited to 'src/macfns.c')
| -rw-r--r-- | src/macfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macfns.c b/src/macfns.c index 38afebe0c91..7ae8ccb0a06 100644 --- a/src/macfns.c +++ b/src/macfns.c @@ -1837,7 +1837,7 @@ x_to_mac_color (colorname) { unsigned long colorval; int i, pos; - pos = 0; + pos = 16; size /= 3; colorval = 0; @@ -1873,7 +1873,7 @@ x_to_mac_color (colorname) break; } colorval |= (value << pos); - pos += 0x8; + pos -= 8; if (i == 2) { UNBLOCK_INPUT; |
