From 73a59d5ed48c5b4949152c9df6151c2b604d0203 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Fri, 11 Apr 2003 15:13:55 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ src/engine/Transaction.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 07076bccb0..fb03a6792a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-11 Derek Atkins + + * src/engine/Transaction.c: xaccSplitGetCorrAccountCode() should + actually return the account Code, not the account Name! Fixes + #110561. + 2003-04-06 Derek Atkins * src/gnome-util/transfer-dialog.c: Pop up a dialog if the user diff --git a/src/engine/Transaction.c b/src/engine/Transaction.c index b03d33c71f..af8e5c1f9d 100644 --- a/src/engine/Transaction.c +++ b/src/engine/Transaction.c @@ -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); } }