Display value booleans as 0 and 1.
This commit is contained in:
parent
7f5f53de82
commit
327fdca8f4
1 changed files with 1 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue