summaryrefslogtreecommitdiff
path: root/src/chain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/chain.cc')
-rw-r--r--src/chain.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/chain.cc b/src/chain.cc
index 9155d4fa..5b1ba18c 100644
--- a/src/chain.cc
+++ b/src/chain.cc
@@ -86,13 +86,13 @@ post_handler_ptr chain_post_handlers(report_t& report,
report.HANDLER(display_total_).expr,
report.HANDLER(display_total_).expr,
report, report.HANDLED(revalued_only)));
-
- // calc_posts computes the running total. When this appears will
- // determine, for example, whether filtered posts are included or excluded
- // from the running total.
- handler.reset(new calc_posts(handler, expr));
}
+ // calc_posts computes the running total. When this appears will determine,
+ // for example, whether filtered posts are included or excluded from the
+ // running total.
+ handler.reset(new calc_posts(handler, expr, report.HANDLED(totals)));
+
// unround_posts will unround the amounts in all postings
if (report.HANDLED(unround))
handler.reset(new unround_posts(handler));