diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-17 18:19:25 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-17 18:19:25 -0400 |
commit | fadab59e87f7a4789e904f8bda73ed26fbbfd9a8 (patch) | |
tree | 22b5c5d177386f2f272135adadf7d02e3e7eb7c5 /walk.h | |
parent | de39574e89cc72aef157d10d451fac1f78af37c6 (diff) | |
download | fork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.tar.gz fork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.tar.bz2 fork-ledger-fadab59e87f7a4789e904f8bda73ed26fbbfd9a8.zip |
changes to value expressions, and to how the display predicate is computed
Diffstat (limited to 'walk.h')
-rw-r--r-- | walk.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -117,6 +117,7 @@ class add_to_account_value : public item_handler<transaction_t> public: virtual void operator()(transaction_t * xact) { xact->account->value += *xact; + xact->account->count++; } }; @@ -368,6 +369,7 @@ inline void sum_accounts(account_t * account) { i++) { sum_accounts((*i).second); account->total += (*i).second->total; + account->count += (*i).second->count; } account->total += account->value; } |