mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Update console.h
case insensitive
This commit is contained in:
parent
d6a79e4f5b
commit
d8411b4a58
1 changed files with 2 additions and 2 deletions
|
|
@ -246,10 +246,10 @@ public:
|
||||||
return s == StringTable->EmptyString() ? 0 : dAtoi(s);
|
return s == StringTable->EmptyString() ? 0 : dAtoi(s);
|
||||||
if (type == ConsoleValueType::cvString)
|
if (type == ConsoleValueType::cvString)
|
||||||
{
|
{
|
||||||
if (dStrcmp(s, "false") == 0) {
|
if (dStricmp(s, "false") == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else if (dStrcmp(s, "true") == 0) {
|
else if (dStricmp(s, "true") == 0) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue