mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-25 10:20:18 -06:00
Do not printf %s if the param is NULL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15716 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
3dc3c06866
commit
3d76b0fdde
@ -1055,7 +1055,7 @@ gnc_prefs_connect_entry (GtkEntry *entry)
|
||||
name = gtk_widget_get_name(GTK_WIDGET(entry)) + PREFIX_LEN;
|
||||
text = gnc_gconf_get_string(name, NULL, NULL);
|
||||
gtk_entry_set_text(GTK_ENTRY(entry), text ? text : "");
|
||||
DEBUG(" Entry %s set to '%s'", name, text);
|
||||
DEBUG(" Entry %s set to '%s'", name?name:"(null)", text?text:"(null)");
|
||||
g_signal_connect(G_OBJECT(entry), "changed",
|
||||
G_CALLBACK(gnc_prefs_entry_user_cb), NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user