summaryrefslogtreecommitdiff
path: root/walk.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-09 17:49:06 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-09 17:49:06 -0400
commit799e97e420133eb25a321f30a61f857831a93dac (patch)
tree1814819ec53b198e8785f2242522786fd314c605 /walk.h
parent6e6246c927ab0d39dfd65f20e51c3f1b036c8ea9 (diff)
downloadfork-ledger-799e97e420133eb25a321f30a61f857831a93dac.tar.gz
fork-ledger-799e97e420133eb25a321f30a61f857831a93dac.tar.bz2
fork-ledger-799e97e420133eb25a321f30a61f857831a93dac.zip
more bug fixes
Diffstat (limited to 'walk.h')
-rw-r--r--walk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/walk.h b/walk.h
index e01b5d97..7ad8264c 100644
--- a/walk.h
+++ b/walk.h
@@ -69,7 +69,8 @@ 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) &&
+ if ((! (flags & OTHER_TRANSACTIONS) ||
+ ! ((*i)->flags & TRANSACTION_AUTO)) &&
! ((*i)->dflags & TRANSACTION_HANDLED) &&
(*i == xact ?
(flags & MATCHING_TRANSACTIONS) : (flags & OTHER_TRANSACTIONS))) {