summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 7888dadf..7ac7a9e9 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -803,12 +803,12 @@ void auto_xact_t::extend_xact(xact_base_t& xact, parse_context_t& context)
post_t * new_post = new post_t(account, amt);
new_post->copy_details(*post);
- // A Cleared transaction implies all of its automatic posting are cleared
+ // A Cleared transaction implies all of its automatic posting are cleared
// CPR 2012/10/23
- if(xact.state() == item_t::CLEARED){
- DEBUG("xact.extend.cleared", "CLEARED");
- new_post->set_state(item_t::CLEARED);
- }
+ if (xact.state() == item_t::CLEARED) {
+ DEBUG("xact.extend.cleared", "CLEARED");
+ new_post->set_state(item_t::CLEARED);
+ }
new_post->add_flags(ITEM_GENERATED);
new_post->account =