diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-03-30 07:20:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-03-30 07:20:04 +0800 |
commit | 7d3c17948f450d8a85e4baa016e2e8dd8dc8c436 (patch) | |
tree | 31fe8f237bf885edf9df01a7a68c66d49d373330 /mail/mail-composer-prefs.c | |
parent | 984f8343ca6c37446c5721a621e4ce31bc8f27d4 (diff) | |
download | gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.tar.gz gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.tar.zst gsoc2013-evolution-7d3c17948f450d8a85e4baa016e2e8dd8dc8c436.zip |
Don't shift the r, g and b values here either.
2002-03-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-preferences.c (colorpicker_get_color): Don't shift the r, g
and b values here either.
* mail-composer-prefs.c (colorpicker_get_color): Don't shift the
r, g, b values.
svn path=/trunk/; revision=16297
Diffstat (limited to 'mail/mail-composer-prefs.c')
-rw-r--r-- | mail/mail-composer-prefs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c index 6b1c703038..97ebced5e8 100644 --- a/mail/mail-composer-prefs.c +++ b/mail/mail-composer-prefs.c @@ -106,11 +106,11 @@ colorpicker_get_color (GnomeColorPicker *color) gnome_color_picker_get_i8 (color, &r, &g, &b, &a); - rgb = r >> 8; + rgb = r; rgb <<= 8; - rgb |= g >> 8; + rgb |= g; rgb <<= 8; - rgb |= b >> 8; + rgb |= b; return rgb; } |