[evolution-patches] mail config: spell color formatting fix



Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2737
diff -u -p -r1.2737 ChangeLog
--- ChangeLog	22 May 2003 20:08:40 -0000	1.2737
+++ ChangeLog	30 May 2003 18:19:18 -0000
@@ -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-21  Radek Doulik  <rodo ximian com>
 
 	* mail-signature-editor.c (menu_file_save_cb): set signature html
Index: mail-config.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/mail-config.c,v
retrieving revision 1.277
diff -u -p -r1.277 mail-config.c
--- mail-config.c	20 May 2003 14:54:00 -0000	1.277
+++ mail-config.c	30 May 2003 18:19:18 -0000
@@ -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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]