git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1174 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-09-15 06:20:34 +00:00
parent 3854e1a30a
commit a76dd2ba48

View File

@ -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 */