mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
fix warn reports for buffer oveeruns
also misc uninitialized vars
This commit is contained in:
parent
1230d0d280
commit
9e036f142b
6 changed files with 11 additions and 9 deletions
|
|
@ -146,7 +146,7 @@ bool isFloat(const char* str, bool sciOk = false)
|
|||
}
|
||||
break;
|
||||
case '.':
|
||||
if(seenDot | (sciOk && eLoc != -1))
|
||||
if(seenDot || (sciOk && eLoc != -1))
|
||||
return false;
|
||||
seenDot = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue