summaryrefslogtreecommitdiff
path: root/src/output.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-06 02:52:14 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-06 02:52:14 -0400
commit4a0f5f9034dc24c7ae5f0464d407f4cf2279558b (patch)
treeb7a4fa4659d366b34e8ecb25267ec2ea9c11f93c /src/output.cc
parent80c51bf0a524ed80c0c248374a75e7fc392e1a3d (diff)
parentaff490534a8e7826d89bbc75c6885b4a6bff4d17 (diff)
downloadfork-ledger-4a0f5f9034dc24c7ae5f0464d407f4cf2279558b.tar.gz
fork-ledger-4a0f5f9034dc24c7ae5f0464d407f4cf2279558b.tar.bz2
fork-ledger-4a0f5f9034dc24c7ae5f0464d407f4cf2279558b.zip
Merge branch 'next'
Diffstat (limited to 'src/output.cc')
-rw-r--r--src/output.cc16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/output.cc b/src/output.cc
index f10de042..975d8077 100644
--- a/src/output.cc
+++ b/src/output.cc
@@ -297,17 +297,11 @@ void format_accounts::flush()
}
}
- if (report.session.master->has_xdata()) {
- account_t::xdata_t& xdata(report.session.master->xdata());
-
- if (! report.HANDLED(no_total) && top_displayed > 1 &&
- xdata.family_details.total) {
- xdata.self_details.total = xdata.family_details.total;
-
- bind_scope_t bound_scope(report, *report.session.master);
- separator_format.format(out, bound_scope);
- total_line_format.format(out, bound_scope);
- }
+ if (! report.HANDLED(no_total) && top_displayed > 1 &&
+ report.session.master->family_total()) {
+ bind_scope_t bound_scope(report, *report.session.master);
+ separator_format.format(out, bound_scope);
+ total_line_format.format(out, bound_scope);
}
out.flush();