From 972ed4c386f8beeafda3519f6769f6dd9670e69a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 14 Aug 2004 06:21:52 -0400 Subject: fix to changed_value_transactions --- walk.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/walk.cc b/walk.cc index 1f58f0c6..7a47aab8 100644 --- a/walk.cc +++ b/walk.cc @@ -102,13 +102,8 @@ void changed_value_transactions::operator()(transaction_t * xact) transaction_t * temp_xact = new transaction_t(entry, NULL); xact_temps.push_back(temp_xact); - temp_xact->amount = (*i).second; - if (changed_values_only) { - temp_xact->dflags |= TRANSACTION_NO_TOTAL; - } else { - temp_xact->total = (*i).second; - temp_xact->total.negate(); - } + temp_xact->amount = (*i).second; + temp_xact->dflags |= TRANSACTION_NO_TOTAL; (*handler)(temp_xact); } -- cgit v1.2.3