Merge pull request #52090 from balloonpopper/bug52060
Correct null and boolean values being capitalised by the str command
This commit is contained in:
commit
4e67e9bca6
30 changed files with 93 additions and 82 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue