mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix error discovered in testing: xaccSplitCompareAccountCodes actually compared the account names.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22128 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0fe6e907de
commit
ec7b02ab5b
@ -1429,7 +1429,7 @@ xaccSplitCompareAccountCodes(const Split *sa, const Split *sb)
|
||||
aa = sa->acc;
|
||||
ab = sb->acc;
|
||||
|
||||
return safe_strcmp(xaccAccountGetName(aa), xaccAccountGetName(ab));
|
||||
return safe_strcmp(xaccAccountGetCode(aa), xaccAccountGetCode(ab));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user