From eb45a0a4f46577c6615695256e5f6866a27ef20e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 3 Mar 2009 17:08:11 -0400 Subject: Normalized how account totals are calculated --- src/global.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/global.cc') diff --git a/src/global.cc b/src/global.cc index 22bd5b7b..dc21012c 100644 --- a/src/global.cc +++ b/src/global.cc @@ -408,6 +408,9 @@ void global_scope_t::normalize_report_options(const string& verb) if (verb[0] != 'b' && verb[0] != 'r') rep.HANDLER(base).on_only(); + if (verb[0] == 'b' || verb == "equity") + rep.HANDLER(totals).on_only(); + if (rep.HANDLED(period_) && ! rep.HANDLED(sort_all_)) rep.HANDLER(sort_xacts_).on_only(); -- cgit v1.2.3