aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2003-05-31 02:27:03 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-05-31 02:27:03 +0800
commit6bdca62695586ab8af47ec3e6ccbf09f337250de (patch)
tree8b6aeb4d394314e8680a47ec73cd25377db19e6b /mail
parentb732aa4bbbc5839669561e2d51403a70029f1725 (diff)
downloadgsoc2013-evolution-6bdca62695586ab8af47ec3e6ccbf09f337250de.tar
gsoc2013-evolution-6bdca62695586ab8af47ec3e6ccbf09f337250de.tar.gz
gsoc2013-evolution-6bdca62695586ab8af47ec3e6ccbf09f337250de.tar.bz2
gsoc2013-evolution-6bdca62695586ab8af47ec3e6ccbf09f337250de.tar.lz
gsoc2013-evolution-6bdca62695586ab8af47ec3e6ccbf09f337250de.tar.xz
gsoc2013-evolution-6bdca62695586ab8af47ec3e6ccbf09f337250de.tar.zst
gsoc2013-evolution-6bdca62695586ab8af47ec3e6ccbf09f337250de.zip
use %02x instead of %2x when formatting color for rc file
2003-05-30 Radek Doulik <rodo@ximian.com> * mail-config.c (config_write_style): use %02x instead of %2x when formatting color for rc file svn path=/trunk/; revision=21356
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-config.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index bf7324a27d..8c3c2e0545 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-30 Radek Doulik <rodo@ximian.com>
+
+ * mail-config.c (config_write_style): use %02x instead of %2x when
+ formatting color for rc file
+
2003-05-29 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #43805.
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 216371f40c..45d44a5524 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -466,7 +466,7 @@ config_write_style (void)
blue = gconf_client_get_int (config->gconf, "/GNOME/Spell/spell_error_color_blue", NULL);
fprintf (rc, "style \"evolution-mail-custom-fonts\" {\n");
- fprintf (rc, " GtkHTML::spell_error_color = \"#%2x%2x%2x\"\n",
+ fprintf (rc, " GtkHTML::spell_error_color = \"#%02x%02x%02x\"\n",
red >> 8, green >> 8, blue >> 8);
if (custom && var_font && fix_font) {