summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-08-18 14:48:38 -0400
committerJohn Wiegley <johnw@newartisans.com>2011-08-18 14:48:38 -0400
commitf0791bbd7297e737d9e13d0b0bb21473b173b2a7 (patch)
tree95e2b7806dce0936edd69eca780d180d2ce3195d /src/xact.cc
parentadd6f6ca2a711e3337f83bd15be5a03e22842591 (diff)
downloadfork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.gz
fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.bz2
fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.zip
Cleanup whitespace
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 1acbd0a4..7f0b1afe 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -192,7 +192,7 @@ bool xact_base_t::finalize()
DEBUG("xact.finalize", "there were no costs, and a valid top_post");
balance_t::amounts_map::const_iterator a = bal.amounts.begin();
-
+
const amount_t * x = &(*a++).second;
const amount_t * y = &(*a++).second;
@@ -418,7 +418,7 @@ bool xact_base_t::verify()
amount_t& p(post->cost ? *post->cost : post->amount);
assert(! p.is_null());
-
+
// If the amount was a cost, it very likely has the "keep_precision" flag
// set, meaning commodity display precision is ignored when displaying the
// amount. We never want this set for the balance, so we must clear the
@@ -609,7 +609,7 @@ namespace {
.match(post.reported_account()->fullname());
else
break;
-
+
case expr_t::op_t::O_NOT:
return ! post_pred(op->left(), post);