Merge pull request #52090 from balloonpopper/bug52060

Correct null and boolean values being capitalised by the str command
This commit is contained in:
Max Hilbrunner 2021-08-27 21:05:47 +02:00 committed by GitHub
commit 4e67e9bca6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: