diff options
Diffstat (limited to 'src/output.cc')
-rw-r--r-- | src/output.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output.cc b/src/output.cc index 63d8c919..c4317934 100644 --- a/src/output.cc +++ b/src/output.cc @@ -179,7 +179,9 @@ format_accounts::mark_accounts(account_t& account, const bool flat) (account.has_flags(ACCOUNT_EXT_VISITED) || (! flat && visited > 0))) { bind_scope_t bound_scope(report, account); if ((! flat && to_display > 1) || - (disp_pred(bound_scope) && (flat || to_display != 1))) { + ((flat || to_display != 1 || + account.has_flags(ACCOUNT_EXT_VISITED)) && + disp_pred(bound_scope))) { account.xdata().add_flags(ACCOUNT_EXT_TO_DISPLAY); DEBUG("account.display", "Marking account as TO_DISPLAY"); to_display = 1; |