diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-07 22:50:38 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-07 22:50:38 -0400 |
commit | aec5020d34bb809efa3e243a1264dd66b8014748 (patch) | |
tree | 9b78928dae6c00958118c5e663c31582f9abd5d4 /src/item.cc | |
parent | f857e10ce2f57410e5b13820595971cc4f9972ff (diff) | |
download | fork-ledger-aec5020d34bb809efa3e243a1264dd66b8014748.tar.gz fork-ledger-aec5020d34bb809efa3e243a1264dd66b8014748.tar.bz2 fork-ledger-aec5020d34bb809efa3e243a1264dd66b8014748.zip |
item_t::get_uncleared was returning true if CLEARED.
Diffstat (limited to 'src/item.cc')
-rw-r--r-- | src/item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc index 700386af..9f0329c3 100644 --- a/src/item.cc +++ b/src/item.cc @@ -126,7 +126,7 @@ namespace { return long(item.state()); } value_t get_uncleared(item_t& item) { - return item.state() == item_t::CLEARED; + return item.state() == item_t::UNCLEARED; } value_t get_cleared(item_t& item) { return item.state() == item_t::CLEARED; |