diff --git a/ChangeLog b/ChangeLog index c3c2236529..3898932ff5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * src/gnome/dialog-sxsincelast.c: Use GNCSplitReg over diff --git a/src/gnome-utils/gnc-gui-query.c b/src/gnome-utils/gnc-gui-query.c index 58741ac5e0..b5eab13e19 100644 --- a/src/gnome-utils/gnc-gui-query.c +++ b/src/gnome-utils/gnc-gui-query.c @@ -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,