r16134 - gnucash/trunk/src/gnome-utils - Fix %s-NULL-printfs in image option previewers, #441798.
Andreas Köhler
andi5 at cvs.gnucash.org
Mon May 28 16:44:48 EDT 2007
Author: andi5
Date: 2007-05-28 16:44:46 -0400 (Mon, 28 May 2007)
New Revision: 16134
Trac: http://svn.gnucash.org/trac/changeset/16134
Modified:
gnucash/trunk/src/gnome-utils/dialog-options.c
Log:
Fix %s-NULL-printfs in image option previewers, #441798.
Modified: gnucash/trunk/src/gnome-utils/dialog-options.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-options.c 2007-05-28 02:45:27 UTC (rev 16133)
+++ gnucash/trunk/src/gnome-utils/dialog-options.c 2007-05-28 20:44:46 UTC (rev 16134)
@@ -233,10 +233,10 @@
ENTER("chooser %p, option %p", chooser, option);
filename = gtk_file_chooser_get_preview_filename(chooser);
- DEBUG("chooser preview name is %s.", filename);
+ DEBUG("chooser preview name is %s.", filename ? filename : "(null)");
if (filename == NULL) {
filename = g_strdup(g_object_get_data(G_OBJECT(chooser), LAST_SELECTION));
- DEBUG("using last selection of %s", filename);
+ DEBUG("using last selection of %s", filename ? filename : "(null)");
if (filename == NULL) {
LEAVE("no usable name");
return;
More information about the gnucash-changes
mailing list