From 6bdca62695586ab8af47ec3e6ccbf09f337250de Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Fri, 30 May 2003 18:27:03 +0000 Subject: use %02x instead of %2x when formatting color for rc file 2003-05-30 Radek Doulik * mail-config.c (config_write_style): use %02x instead of %2x when formatting color for rc file svn path=/trunk/; revision=21356 --- mail/mail-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-config.c') 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) { -- cgit