The function name xaccSplitDateOrder is misleading, so rename it to

xaccSplitOrder.  Add a new xaccSplitOrderDateOnly function.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15838 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2007-04-06 02:31:28 +00:00
parent 897633f01b
commit df0cfeddc2
5 changed files with 35 additions and 10 deletions

View File

@@ -777,7 +777,7 @@ xaccTransGetAccountBalance (const Transaction *trans,
/* This test needs to correspond to the comparison function used when
sorting the splits for computing the running balance. */
if (xaccSplitDateOrder (last_split, split) < 0)
if (xaccSplitOrder (last_split, split) < 0)
last_split = split;
}