Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
This commit is contained in:
commit
9ffe3e11d9
41 changed files with 236 additions and 105 deletions
|
@ -534,7 +534,7 @@ DECLARE_INSTRUCTION_PARSER(endscript) {
|
|||
|
||||
void ProgramParser_ns::parseRValue(ScriptVar &v, const char *str) {
|
||||
|
||||
if (isdigit(static_cast<unsigned char>(str[0])) || str[0] == '-') {
|
||||
if (Common::isDigit(str[0]) || str[0] == '-') {
|
||||
v.setImmediate(atoi(str));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue