From 963161a817c3d6b2a8171c8e3faa382dbc39ba02 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 21 Jun 2010 18:32:03 -0400 Subject: bal was sometimes reporting empty accounts --- src/output.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/output.cc') 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"); -- cgit v1.2.3