* src/engine/Transaction.c: xaccSplitGetCorrAccountCode() should

actually return the account Code, not the account Name!  Fixes
	  #110561.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8220 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2003-04-11 15:13:55 +00:00
parent 37ee1c09a0
commit 73a59d5ed4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-04-11 Derek Atkins <derek@ihtfp.com>
* src/engine/Transaction.c: xaccSplitGetCorrAccountCode() should
actually return the account Code, not the account Name! Fixes
#110561.
2003-04-06 Derek Atkins <derek@ihtfp.com>
* src/gnome-util/transfer-dialog.c: Pop up a dialog if the user

View File

@ -2401,7 +2401,7 @@ xaccSplitGetCorrAccountCode(const Split *sa)
else
{
other_split_acc = xaccSplitGetAccount(other_split);
return xaccAccountGetName(other_split_acc);
return xaccAccountGetCode(other_split_acc);
}
}