#3505: JSON::PrintHandler.value(bool) prints incorrect value

This commit is contained in:
Günter Obiltschnig 2022-02-08 06:00:29 +01:00
parent 516eebad72
commit 00d5e7171a

View File

@ -191,7 +191,7 @@ void PrintHandler::value(double d)
void PrintHandler::value(bool b) void PrintHandler::value(bool b)
{ {
arrayValue(); arrayValue();
_out << b; _out << (b ? "true" : "false");
_objStart = false; _objStart = false;
} }