diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-25 02:07:57 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-25 02:07:57 -0400 |
commit | cdaba43fa731c52840a23d44ec735600a93f5f38 (patch) | |
tree | 5de474af87797a05ed64df7bebae351fcd83f202 /src/report.h | |
parent | 838338e3164cf17d2a6de5fea7dffbf1241a476b (diff) | |
download | ledger-cdaba43fa731c52840a23d44ec735600a93f5f38.tar.gz ledger-cdaba43fa731c52840a23d44ec735600a93f5f38.tar.bz2 ledger-cdaba43fa731c52840a23d44ec735600a93f5f38.zip |
Fixed the --gain option for balance reports
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h index 5ab29736..498af88f 100644 --- a/src/report.h +++ b/src/report.h @@ -396,6 +396,7 @@ public: OPTION_(report_t, gain, DO() { // -G parent->HANDLER(revalued).on_only(); + parent->HANDLER(account_amount_).set_expr("amount | (0, 0)"); parent->HANDLER(amount_).set_expr("(amount, cost)"); // Since we are displaying the amounts of revalued postings, they // will end up being composite totals, and hence a pair of pairs. |