From 2728e4d55e1c9e84ee5aae4ee8e9c380198d1c99 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 6 Mar 2009 00:26:30 -0400 Subject: Changed the way that account balances are computed --- src/session.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/session.cc') diff --git a/src/session.cc b/src/session.cc index ff23719b..e171ff4d 100644 --- a/src/session.cc +++ b/src/session.cc @@ -87,9 +87,14 @@ std::size_t session_t::read_journal(std::istream& in, { if (! master) master = journal->master; + std::size_t count = journal->parse(in, *this, master, &pathname, HANDLED(strict)); - clean_accounts(); // remove calculated totals + + // remove calculated totals and flags + clean_posts(); + clean_accounts(); + return count; } -- cgit v1.2.3