From a60d60b22177836474aad907504f538096787992 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Mon, 4 Nov 2002 17:43:38 +0000 Subject: [PATCH] * 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 --- ChangeLog | 3 +++ src/gnome-utils/gnc-gui-query.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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,