diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-14 06:21:52 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-14 06:21:52 -0400 |
commit | 972ed4c386f8beeafda3519f6769f6dd9670e69a (patch) | |
tree | 689e95d1cda8d4e21464588280993a396f657e27 /walk.cc | |
parent | 24e8977b57218cfac704068a3221558d1ce009a7 (diff) | |
download | fork-ledger-972ed4c386f8beeafda3519f6769f6dd9670e69a.tar.gz fork-ledger-972ed4c386f8beeafda3519f6769f6dd9670e69a.tar.bz2 fork-ledger-972ed4c386f8beeafda3519f6769f6dd9670e69a.zip |
fix to changed_value_transactions
Diffstat (limited to 'walk.cc')
-rw-r--r-- | walk.cc | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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); } |