fix to changed_value_transactions

This commit is contained in:
John Wiegley 2004-08-14 06:21:52 -04:00
parent 24e8977b57
commit 972ed4c386

View file

@ -103,12 +103,7 @@ void changed_value_transactions::operator()(transaction_t * xact)
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();
}
(*handler)(temp_xact);
}