* src/gnome-utils/gnc-gui-query.c: use the right string when building

the dialog (use the output from vsprintf, not the input)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7439 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-11-04 17:43:38 +00:00
parent 84cb47bdc1
commit a60d60b221
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@
* src/gnome/gnc-split-reg.c: remove reference to gnc-regwidget.h
(which no longer exists)
* src/gnome-utils/gnc-gui-query.c: use the right string when building
the dialog (use the output from vsprintf, not the input)
2002-11-03 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c: Use GNCSplitReg over

View File

@ -60,7 +60,7 @@ gnc_ok_cancel_dialog_common(gncUIWidget parent,
gchar *buffer;
buffer = g_strdup_vprintf(format, args);
dialog = gnome_message_box_new(format,
dialog = gnome_message_box_new(buffer,
GNOME_MESSAGE_BOX_QUESTION,
GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_CANCEL,
@ -154,7 +154,7 @@ gnc_verify_cancel_dialog_common(GtkWidget *parent,
gchar *buffer;
buffer = g_strdup_vprintf(format, args);
verify_box = gnome_message_box_new(format,
verify_box = gnome_message_box_new(buffer,
GNOME_MESSAGE_BOX_QUESTION,
GNOME_STOCK_BUTTON_YES,
GNOME_STOCK_BUTTON_NO,