summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textual.cc3
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