git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1174 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/xacc-12-patch
Linas Vepstas 28 years ago
parent 3854e1a30a
commit a76dd2ba48

@ -377,7 +377,7 @@ printf ("save split is %p \n", split);
/* do some reparenting. Insertion into new account will automatically
* delete from the old account */
old_acc = xaccSplitGetAccount (split_to_modify);
new_acc = xaccGetAccountByName (trans, reg->xfrmCell->cell.value);
new_acc = xaccGetAccountByName (trans, reg->mxfrmCell->cell.value);
xaccAccountInsertSplit (new_acc, split_to_modify);
/* make sure any open windows of the old account get redrawn */

Loading…
Cancel
Save