summaryrefslogtreecommitdiff
path: root/src/chain.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/chain.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/chain.cc')
-rw-r--r--src/chain.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/chain.cc b/src/chain.cc
index 9d74f744..e3bf2443 100644
--- a/src/chain.cc
+++ b/src/chain.cc
@@ -93,11 +93,7 @@ post_handler_ptr chain_post_handlers(report_t& report,
// calc_posts computes the running total. When this appears will determine,
// for example, whether filtered posts are included or excluded from the
// running total.
- handler.reset(new calc_posts(handler, expr, report.HANDLED(totals)));
-
- // unround_posts will unround the amounts in all postings
- if (report.HANDLED(unround))
- handler.reset(new unround_posts(handler));
+ handler.reset(new calc_posts(handler, expr, only_preliminaries));
// filter_posts will only pass through posts matching the
// `secondary_predicate'.