diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-21 18:07:27 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-21 18:07:27 +0100 |
commit | 521b935aa8ef68ac3a8a1fe1a37eed39b41eec95 (patch) | |
tree | b7e482b7ea2d7725387046fdd6523e0f15f1dfa3 /src/output.cc | |
parent | 7287aad336161eb9a143f188c92d462e62051374 (diff) | |
download | fork-ledger-521b935aa8ef68ac3a8a1fe1a37eed39b41eec95.tar.gz fork-ledger-521b935aa8ef68ac3a8a1fe1a37eed39b41eec95.tar.bz2 fork-ledger-521b935aa8ef68ac3a8a1fe1a37eed39b41eec95.zip |
Restored --percent option, added baseline test
Diffstat (limited to 'src/output.cc')
-rw-r--r-- | src/output.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output.cc b/src/output.cc index c4317934..057733aa 100644 --- a/src/output.cc +++ b/src/output.cc @@ -209,7 +209,8 @@ void format_accounts::flush() foreach (account_t * account, posted_accounts) displayed += post_account(*account); - if (! report.HANDLED(no_total) && displayed > 1) { + if (displayed > 1 && + ! report.HANDLED(no_total) && ! report.HANDLED(percent)) { bind_scope_t bound_scope(report, *report.session.master); separator_format.format(out, bound_scope); total_line_format.format(out, bound_scope); |