diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-27 07:15:41 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-27 08:30:39 -0400 |
commit | 0fdb900c9975b97b43fe85c2691a9d5e69006fab (patch) | |
tree | 833ced95e5bd15a2bce802cd474f3c0fd93a88f7 /src/output.cc | |
parent | f20b6a3b9edc2ace7b85eb4c961d57f69d98ea09 (diff) | |
download | fork-ledger-0fdb900c9975b97b43fe85c2691a9d5e69006fab.tar.gz fork-ledger-0fdb900c9975b97b43fe85c2691a9d5e69006fab.tar.bz2 fork-ledger-0fdb900c9975b97b43fe85c2691a9d5e69006fab.zip |
Redid the way temporaries are handled in filtering
Diffstat (limited to 'src/output.cc')
-rw-r--r-- | src/output.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output.cc b/src/output.cc index a0c2581b..b1a8cb1b 100644 --- a/src/output.cc +++ b/src/output.cc @@ -169,7 +169,7 @@ format_accounts::mark_accounts(account_t& account, const bool flat) #if defined(DEBUG_ON) DEBUG("account.display", "Considering account: " << account.fullname()); - if (account.has_flags(ACCOUNT_EXT_VISITED)) + if (account.has_xflags(ACCOUNT_EXT_VISITED)) DEBUG("account.display", " it was visited itself"); DEBUG("account.display", " it has " << visited << " visited children"); DEBUG("account.display", @@ -177,11 +177,11 @@ format_accounts::mark_accounts(account_t& account, const bool flat) #endif if (account.parent && - (account.has_flags(ACCOUNT_EXT_VISITED) || (! flat && visited > 0))) { + (account.has_xflags(ACCOUNT_EXT_VISITED) || (! flat && visited > 0))) { bind_scope_t bound_scope(report, account); if ((! flat && to_display > 1) || ((flat || to_display != 1 || - account.has_flags(ACCOUNT_EXT_VISITED)) && + account.has_xflags(ACCOUNT_EXT_VISITED)) && disp_pred(bound_scope))) { account.xdata().add_flags(ACCOUNT_EXT_TO_DISPLAY); DEBUG("account.display", "Marking account as TO_DISPLAY"); |