summaryrefslogtreecommitdiff
path: root/walk.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-23 19:17:21 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-23 19:17:21 -0400
commit8a7cee24c8b130b7d79b41b55b559bb6864d6fc6 (patch)
treedabce67d81fa7bb74a481df014d23cef8c47ba10 /walk.cc
parente742633cf1b2629adc494b662334eb91959667bb (diff)
downloadfork-ledger-8a7cee24c8b130b7d79b41b55b559bb6864d6fc6.tar.gz
fork-ledger-8a7cee24c8b130b7d79b41b55b559bb6864d6fc6.tar.bz2
fork-ledger-8a7cee24c8b130b7d79b41b55b559bb6864d6fc6.zip
fixed a bug with interval reporting
Diffstat (limited to 'walk.cc')
-rw-r--r--walk.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/walk.cc b/walk.cc
index 6621a263..6786eae4 100644
--- a/walk.cc
+++ b/walk.cc
@@ -138,8 +138,10 @@ void collapse_transactions::report_cumulative_subtotal()
handle_value(result, &totals_account, last_entry, 0, xact_temps, handler);
}
- subtotal = 0;
- count = 0;
+ last_entry = NULL;
+ last_xact = NULL;
+ subtotal = 0;
+ count = 0;
}
void changed_value_transactions::output_diff(const std::time_t current)