diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-06 06:05:51 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-06 06:05:51 -0400 |
commit | 4197c8851120e5c5ac7426cdca209a49049e9363 (patch) | |
tree | 4c5c55bc9870b5e3c5d76282711c4f4880175655 /src/report.h | |
parent | 41e4aea7595d3b9009bece4902d9efdb8ba00e6c (diff) | |
download | fork-ledger-4197c8851120e5c5ac7426cdca209a49049e9363.tar.gz fork-ledger-4197c8851120e5c5ac7426cdca209a49049e9363.tar.bz2 fork-ledger-4197c8851120e5c5ac7426cdca209a49049e9363.zip |
Corrected implementation of --percent
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h index 99b8781b..e4eaeaaa 100644 --- a/src/report.h +++ b/src/report.h @@ -735,7 +735,7 @@ public: OPTION_(report_t, percent, DO() { // -% parent->HANDLER(total_) .set_expr(string("--percent"), - "is_account&parent&parent.total&percent(total, parent.total)"); + "((is_account&parent&parent.total)?percent(total, parent.total):0"); }); OPTION__ |