r15828 - gnucash/trunk/src/gnome-utils - Fix a %s-NULL-printf.

Andreas Köhler andi5 at cvs.gnucash.org
Thu Apr 5 15:49:53 EDT 2007


Author: andi5
Date: 2007-04-05 15:49:52 -0400 (Thu, 05 Apr 2007)
New Revision: 15828
Trac: http://svn.gnucash.org/trac/changeset/15828

Modified:
   gnucash/trunk/src/gnome-utils/gnc-plugin-file-history.c
Log:
Fix a %s-NULL-printf.


Modified: gnucash/trunk/src/gnome-utils/gnc-plugin-file-history.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-plugin-file-history.c	2007-04-05 03:10:26 UTC (rev 15827)
+++ gnucash/trunk/src/gnome-utils/gnc-plugin-file-history.c	2007-04-05 19:49:52 UTC (rev 15828)
@@ -297,7 +297,8 @@
 	gchar *action_name, *label_name, *old_filename;
 	gint limit;
 
-	ENTER("window %p, index %d, filename %s", window, index, filename);
+	ENTER("window %p, index %d, filename %s", window, index,
+	      filename ? filename : "(null)");
 	/* Get the action group */
 	action_group =
 	  gnc_main_window_get_action_group(window, PLUGIN_ACTIONS_NAME);



More information about the gnucash-changes mailing list