summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-19 22:28:17 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-19 22:28:17 -0400
commit5e25a6d8382dd5fee297cd277dac111a534cf6ff (patch)
tree8f76909dfdbdf8eb0d785a927121b1691b2ce1c9
parente9a5a9bd7753e69fb60849076083c26c06cce6a4 (diff)
downloadfork-ledger-5e25a6d8382dd5fee297cd277dac111a534cf6ff.tar.gz
fork-ledger-5e25a6d8382dd5fee297cd277dac111a534cf6ff.tar.bz2
fork-ledger-5e25a6d8382dd5fee297cd277dac111a534cf6ff.zip
Pass in the total_expr directly to changed_value_xacts.
-rw-r--r--src/report.cc3
1 files changed, 2 insertions, 1 deletions
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