summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-08 23:57:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-08 23:57:30 -0400
commit0cb8049c41b68ab999fbd2c4173c680fb1b545df (patch)
treed3b1b1e75d9a90a1a0ee196b6513c1260ba1e189 /src/report.h
parentfccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819 (diff)
downloadfork-ledger-0cb8049c41b68ab999fbd2c4173c680fb1b545df.tar.gz
fork-ledger-0cb8049c41b68ab999fbd2c4173c680fb1b545df.tar.bz2
fork-ledger-0cb8049c41b68ab999fbd2c4173c680fb1b545df.zip
Pass amount expression to calc_xacts, to be used for computing the total.
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h
index 418ac0e2..ce1ab9dd 100644
--- a/src/report.h
+++ b/src/report.h
@@ -189,6 +189,7 @@ public:
}
DO_(args) {
expr = args[0].to_string();
+ expr.set_context(parent);
});
OPTION(report_t, amount_data); // -j