Merge pull request #182 from fingolfin/forbid-ctype

ALL: Avoid using is* macros from ctype.h
This commit is contained in:
Willem Jan Palenstijn 2012-02-21 11:33:32 -08:00
commit 9ffe3e11d9
41 changed files with 236 additions and 105 deletions

View file

@ -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;
}