summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/value.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/value.cc b/src/value.cc
index c7ef8617..23da4263 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1634,10 +1634,7 @@ void value_t::print(std::ostream& out,
break;
case BOOLEAN:
- if (as_boolean())
- out << "true";
- else
- out << "false";
+ out << (as_boolean() ? "1" : "0");
break;
case DATETIME: