diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-21 18:32:03 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-21 18:32:03 -0400 |
commit | 963161a817c3d6b2a8171c8e3faa382dbc39ba02 (patch) | |
tree | 28baefd70f0b51229ae1bdf4b01a0fc9e49afe1b /src/output.cc | |
parent | 2f1b1c8ceded9bff5fa26d0899da04180f539e94 (diff) | |
download | fork-ledger-963161a817c3d6b2a8171c8e3faa382dbc39ba02.tar.gz fork-ledger-963161a817c3d6b2a8171c8e3faa382dbc39ba02.tar.bz2 fork-ledger-963161a817c3d6b2a8171c8e3faa382dbc39ba02.zip |
bal was sometimes reporting empty accounts
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 cc4845a3..f53e60c9 100644 --- a/src/output.cc +++ b/src/output.cc @@ -228,7 +228,8 @@ format_accounts::mark_accounts(account_t& account, const bool flat) if ((! flat && to_display > 1) || ((flat || to_display != 1 || account.has_xflags(ACCOUNT_EXT_VISITED)) && - (report.HANDLED(empty) || report.fn_display_total(call_scope)) && + (report.HANDLED(empty) || + report.display_value(report.fn_display_total(call_scope))) && disp_pred(bound_scope))) { account.xdata().add_flags(ACCOUNT_EXT_TO_DISPLAY); DEBUG("account.display", "Marking account as TO_DISPLAY"); |