[Commits] prefs_gtk.c 1.10.2.44 1.10.2.45
mones at claws-mail.org
mones at claws-mail.org
Thu Dec 6 01:00:31 CET 2012
Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv8619/src
Modified Files:
Tag: gtk2
prefs_gtk.c
Log Message:
2012-12-05 [mones] 3.9.0cvs42
* src/prefs_gtk.c
Do not set to NULL string preferences which have "" as
default value
Index: prefs_gtk.c
===================================================================
RCS file: /home/claws-mail/claws/src/prefs_gtk.c,v
retrieving revision 1.10.2.44
retrieving revision 1.10.2.45
diff -u -d -r1.10.2.44 -r1.10.2.45
--- prefs_gtk.c 7 Jul 2012 07:09:29 -0000 1.10.2.44
+++ prefs_gtk.c 6 Dec 2012 00:00:29 -0000 1.10.2.45
@@ -452,11 +452,9 @@
g_strconcat(get_home_dir(),
param[i].defval + 1,
NULL);
- else if (param[i].defval[0] != '\0')
+ else
*((gchar **)param[i].data) =
g_strdup(param[i].defval);
- else
- *((gchar **)param[i].data) = NULL;
} else
*((gchar **)param[i].data) = NULL;
break;
More information about the Commits
mailing list