diff options
-rw-r--r-- | src/entry.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/entry.cc b/src/entry.cc index 245a95c2..530d12fb 100644 --- a/src/entry.cc +++ b/src/entry.cc @@ -320,11 +320,10 @@ bool entry_t::valid() const void auto_entry_t::extend_entry(entry_base_t& entry, bool post) { - xacts_list initial_xacts(entry.xacts.begin(), - entry.xacts.end()); + xacts_list initial_xacts(entry.xacts.begin(), entry.xacts.end()); foreach (xact_t * initial_xact, initial_xacts) { - if (predicate(*initial_xact)) { + if (! initial_xact->has_flags(XACT_AUTO) && predicate(*initial_xact)) { foreach (xact_t * xact, xacts) { amount_t amt; assert(xact->amount); |