diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-07 23:20:10 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-07 23:20:10 -0400 |
commit | 59c0692233812eeba568dac735d7b4d4576cf30a (patch) | |
tree | 79c3fa592dc5a57be4c6d2de7a47f1efdbf72562 /walk.h | |
parent | effa82793fbddce8c04ea9387b7389ac5b8f0a59 (diff) | |
download | fork-ledger-59c0692233812eeba568dac735d7b4d4576cf30a.tar.gz fork-ledger-59c0692233812eeba568dac735d7b4d4576cf30a.tar.bz2 fork-ledger-59c0692233812eeba568dac735d7b4d4576cf30a.zip |
moved display only flags to dflags in both transactions and accounts
Diffstat (limited to 'walk.h')
-rw-r--r-- | walk.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -69,11 +69,11 @@ void handle_transaction(transaction_t * xact, for (transactions_list::iterator i = xact->entry->transactions.begin(); i != xact->entry->transactions.end(); i++) - if (! ((*i)->flags & (TRANSACTION_AUTO | TRANSACTION_HANDLED)) && + if (! ((*i)->flags & TRANSACTION_AUTO) && + ! ((*i)->dflags & TRANSACTION_HANDLED) && (*i == xact ? - (flags & MATCHING_TRANSACTIONS) : - (flags & OTHER_TRANSACTIONS))) { - (*i)->flags |= TRANSACTION_HANDLED; + (flags & MATCHING_TRANSACTIONS) : (flags & OTHER_TRANSACTIONS))) { + (*i)->dflags |= TRANSACTION_HANDLED; functor(*i); } } @@ -110,7 +110,7 @@ class clear_flags { public: void operator()(transaction_t * xact) const { - xact->flags &= ~TRANSACTION_TRANSIENT; + xact->dflags = 0; } }; |