summaryrefslogtreecommitdiff
path: root/valexpr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'valexpr.cc')
-rw-r--r--valexpr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/valexpr.cc b/valexpr.cc
index 37bb7a80..b1b53974 100644
--- a/valexpr.cc
+++ b/valexpr.cc
@@ -162,7 +162,7 @@ void node_t::compute(balance_t& result, const details_t& details) const
case REAL:
if (details.xact)
- result = bool(details.xact->flags & TRANSACTION_VIRTUAL);
+ result = ! (details.xact->flags & TRANSACTION_VIRTUAL);
break;
case INDEX: