diff options
author | Max Satula <maksym.satula@gmail.com> | 2014-06-30 13:39:22 -0400 |
---|---|---|
committer | Max Satula <maksym.satula@gmail.com> | 2014-06-30 13:39:22 -0400 |
commit | de17ccf1f470ca36faab50984470f4592164ff5d (patch) | |
tree | a60905f50f512552158a705d72650e960e01573e | |
parent | add716f7761c4e60134b847b9257e0b2b563de91 (diff) | |
download | fork-ledger-de17ccf1f470ca36faab50984470f4592164ff5d.tar.gz fork-ledger-de17ccf1f470ca36faab50984470f4592164ff5d.tar.bz2 fork-ledger-de17ccf1f470ca36faab50984470f4592164ff5d.zip |
When a status flag (! or *) is explicitly specified for an individual posting, it always has a priority over entire transaction status.
-rw-r--r-- | src/textual.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/textual.cc b/src/textual.cc index 8f37a566..eea79de0 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1434,8 +1434,7 @@ post_t * instance_t::parse_post(char * line, } if (xact && - ((xact->_state == item_t::CLEARED && post->_state != item_t::CLEARED) || - (xact->_state == item_t::PENDING && post->_state == item_t::UNCLEARED))) + (xact->_state != item_t::UNCLEARED && post->_state == item_t::UNCLEARED)) post->set_state(xact->_state); // Parse the account name |