From 5e25a6d8382dd5fee297cd277dac111a534cf6ff Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 19 Jan 2009 22:28:17 -0400 Subject: Pass in the total_expr directly to changed_value_xacts. --- src/report.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/report.cc b/src/report.cc index c258dce4..c6f9b214 100644 --- a/src/report.cc +++ b/src/report.cc @@ -113,7 +113,8 @@ report_t::chain_xact_handlers(xact_handler_ptr base_handler, // list to account for changes in market value of commodities, // which otherwise would affect the running total unpredictably. if (show_revalued) - handler.reset(new changed_value_xacts(handler, show_revalued_only)); + handler.reset(new changed_value_xacts(handler, total_expr, + show_revalued_only)); // collapse_xacts causes entries with multiple xacts // to appear as entries with a subtotaled xact for each -- cgit v1.2.3