Minor work.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2270 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldreleases/1.4
Dave Peticolas 26 years ago
parent 95ab8965d0
commit f620ffd658

@ -1,3 +1,8 @@
2000-05-07 Dave Peticolas <peticola@cs.ucdavis.edu>
* src/gnome/window-register.c (deleteCB): use g_strdup_printf
instead of asprintf.
2000-05-06 Dave Peticolas <peticola@cs.ucdavis.edu>
* src/engine/Query.c: g_list_sort *returns* the new first node.

@ -2197,15 +2197,13 @@ deleteCB(GtkWidget *widget, gpointer data)
if (cursor_type == CURSOR_SPLIT)
{
/* ask for user confirmation before performing permanent damage */
asprintf(&buf, TRANS_DEL_MSG, xaccSplitGetMemo(split),
xaccTransGetDescription(trans));
assert(buf != NULL);
buf = g_strdup_printf(TRANS_DEL_MSG, xaccSplitGetMemo(split),
xaccTransGetDescription(trans));
result = gnc_verify_dialog_parented(GTK_WINDOW(regData->window),
buf, GNC_F);
free(buf);
g_free(buf);
if (!result)
return;

Loading…
Cancel
Save