summaryrefslogtreecommitdiff
path: root/src/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/output.cc')
-rw-r--r--src/output.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/output.cc b/src/output.cc
index 4fd3058a..76d811a3 100644
--- a/src/output.cc
+++ b/src/output.cc
@@ -197,19 +197,10 @@ void format_accounts::flush()
foreach (account_t * account, posted_accounts) {
post_account(*account);
- if (report.HANDLED(flat) && account->has_flags(ACCOUNT_EXT_DISPLAYED))
+ if (account->has_flags(ACCOUNT_EXT_DISPLAYED))
top_displayed++;
}
- if (! report.HANDLED(flat)) {
- foreach (accounts_map::value_type pair, report.session.master->accounts) {
- if (pair.second->has_flags(ACCOUNT_EXT_DISPLAYED) ||
- pair.second->children_with_flags(ACCOUNT_EXT_DISPLAYED)) {
- top_displayed++;
- }
- }
- }
-
if (! report.HANDLED(no_total) && top_displayed > 1 &&
report.session.master->family_total()) {
bind_scope_t bound_scope(report, *report.session.master);