aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-preferences.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-03-30 07:20:04 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-30 07:20:04 +0800
commit7d3c17948f450d8a85e4baa016e2e8dd8dc8c436 (patch)
tree31fe8f237bf885edf9df01a7a68c66d49d373330 /mail/mail-preferences.c
parent984f8343ca6c37446c5721a621e4ce31bc8f27d4 (diff)
downloadgsoc2013-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-preferences.c')
-rw-r--r--mail/mail-preferences.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-preferences.c b/mail/mail-preferences.c
index ac1e3fc4b4..e0bae7e439 100644
--- a/mail/mail-preferences.c
+++ b/mail/mail-preferences.c
@@ -113,11 +113,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;
}