r16143 - gnucash/trunk/src/gnome-utils - Fix another %s-NULL-printf in the options dialog.

Andreas Köhler andi5 at cvs.gnucash.org
Sat Jun 2 12:36:35 EDT 2007


Author: andi5
Date: 2007-06-02 12:36:33 -0400 (Sat, 02 Jun 2007)
New Revision: 16143
Trac: http://svn.gnucash.org/trac/changeset/16143

Modified:
   gnucash/trunk/src/gnome-utils/dialog-options.c
Log:
Fix another %s-NULL-printf in the options dialog.


Modified: gnucash/trunk/src/gnome-utils/dialog-options.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-options.c	2007-06-01 23:13:23 UTC (rev 16142)
+++ gnucash/trunk/src/gnome-utils/dialog-options.c	2007-06-02 16:36:33 UTC (rev 16143)
@@ -2498,7 +2498,7 @@
       test = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(widget));
       g_object_set_data_full(G_OBJECT(widget), LAST_SELECTION,
 			     g_strdup(string), g_free);
-      DEBUG("Set %s, retrieved %s", string, test);
+      DEBUG("Set %s, retrieved %s", string, test ? test : "(null)");
       gnc_image_option_update_preview_cb(GTK_FILE_CHOOSER(widget), option);
     }
     LEAVE("FALSE");



More information about the gnucash-changes mailing list