aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-preferences.c
diff options
context:
space:
mode:
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;
}