From f62a4906d1a8886fa086f5bd6a41b8597a31b1d4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 19 Aug 2004 02:30:56 -0400 Subject: fix to textual parsing, and a bit of reconstruction in main.cc --- walk.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'walk.cc') diff --git a/walk.cc b/walk.cc index c77647d6..908618b5 100644 --- a/walk.cc +++ b/walk.cc @@ -42,7 +42,7 @@ void calc_transactions::operator()(transaction_t * xact) xact->cost.negate(); } - last_xact = xact; + last_xact = xact; } void collapse_transactions::report_cumulative_subtotal() @@ -59,8 +59,8 @@ void collapse_transactions::report_cumulative_subtotal() for (amounts_map::const_iterator i = result.amounts.begin(); i != result.amounts.end(); i++) { - transaction_t * total_xact = new transaction_t(last_entry, - totals_account); + transaction_t * total_xact + = new transaction_t(last_entry, totals_account); xact_temps.push_back(total_xact); total_xact->amount = (*i).second; -- cgit v1.2.3