diff options
author | John Wiegley <johnw@newartisans.com> | 2006-03-16 11:27:08 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 05:48:44 -0400 |
commit | 80c472733baf078ac275c02adf0bafff82803464 (patch) | |
tree | aaa9a7d4c1d9e7328871244ec3511d6510d5b2b6 /valexpr.cc | |
parent | 022594bb2f48c115b55ac786aa160b546ff318f8 (diff) | |
download | fork-ledger-80c472733baf078ac275c02adf0bafff82803464.tar.gz fork-ledger-80c472733baf078ac275c02adf0bafff82803464.tar.bz2 fork-ledger-80c472733baf078ac275c02adf0bafff82803464.zip |
*** no comment ***
Diffstat (limited to 'valexpr.cc')
-rw-r--r-- | valexpr.cc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -404,7 +404,10 @@ void value_expr_t::compute(value_t& result, const details_t& details) const case O_NOT: left->compute(result, details); - result.negate(); + if (result) + result = 0L; + else + result = 1L; break; case O_QUES: { |