From 59c0692233812eeba568dac735d7b4d4576cf30a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 7 Aug 2004 23:20:10 -0400 Subject: moved display only flags to dflags in both transactions and accounts --- walk.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'walk.h') diff --git a/walk.h b/walk.h index cff0209a..d8224c3d 100644 --- a/walk.h +++ b/walk.h @@ -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; } }; -- cgit v1.2.3