diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-19 02:30:56 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-19 02:30:56 -0400 |
commit | f62a4906d1a8886fa086f5bd6a41b8597a31b1d4 (patch) | |
tree | aaa5438556cce06457a1493fb6bfdc1e29ebfe68 /walk.cc | |
parent | 41604e0ea65cb342aa05074bf39bbbc832c4c86a (diff) | |
download | fork-ledger-f62a4906d1a8886fa086f5bd6a41b8597a31b1d4.tar.gz fork-ledger-f62a4906d1a8886fa086f5bd6a41b8597a31b1d4.tar.bz2 fork-ledger-f62a4906d1a8886fa086f5bd6a41b8597a31b1d4.zip |
fix to textual parsing, and a bit of reconstruction in main.cc
Diffstat (limited to 'walk.cc')
-rw-r--r-- | walk.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |