aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-composer-prefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-composer-prefs.c')
-rw-r--r--mail/mail-composer-prefs.c6
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;
}