Correct null and boolean values being capitalised by the str command

This commit is contained in:
Balloonpopper
2021-08-25 16:37:40 +10:00
parent bb0122c933
commit 4fae7ae9dc
30 changed files with 93 additions and 82 deletions

View File

@ -1627,9 +1627,9 @@ Variant::operator String() const {
String Variant::stringify(List<const void *> &stack) const {
switch (type) {
case NIL:
return "Null";
return "null";
case BOOL:
return _data._bool ? "True" : "False";
return _data._bool ? "true" : "false";
case INT:
return itos(_data._int);
case FLOAT: