summaryrefslogtreecommitdiff
path: root/walk.h
diff options
context:
space:
mode:
Diffstat (limited to 'walk.h')
-rw-r--r--walk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/walk.h b/walk.h
index a234ed85..b78ae733 100644
--- a/walk.h
+++ b/walk.h
@@ -273,7 +273,7 @@ class collapse_transactions : public item_handler<transaction_t>
// If we've reached a new entry, report on the subtotal
// accumulated thus far.
- if (last_entry && last_entry != xact.entry)
+ if (last_entry && last_entry != xact.entry && count > 0)
report_cumulative_subtotal();
add_transaction_to(xact, subtotal);