From de17ccf1f470ca36faab50984470f4592164ff5d Mon Sep 17 00:00:00 2001 From: Max Satula Date: Mon, 30 Jun 2014 13:39:22 -0400 Subject: When a status flag (! or *) is explicitly specified for an individual posting, it always has a priority over entire transaction status. --- src/textual.cc | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3