diff options
author | Willem Jan Palenstijn | 2012-02-21 11:33:32 -0800 |
---|---|---|
committer | Willem Jan Palenstijn | 2012-02-21 11:33:32 -0800 |
commit | 9ffe3e11d905b5af194dd3265e2fe11545bf5020 (patch) | |
tree | f9fb97d7eb2368d0123aa3bd9d91c560cded3315 /engines/agos/string_pn.cpp | |
parent | 80b34398174973b6d70673fce94a8a1f670c3f4d (diff) | |
parent | 02ebd552141173775b9462f4414083d3b8d49a80 (diff) | |
download | scummvm-rg350-9ffe3e11d905b5af194dd3265e2fe11545bf5020.tar.gz scummvm-rg350-9ffe3e11d905b5af194dd3265e2fe11545bf5020.tar.bz2 scummvm-rg350-9ffe3e11d905b5af194dd3265e2fe11545bf5020.zip |
Merge pull request #182 from fingolfin/forbid-ctype
ALL: Avoid using is* macros from ctype.h
Diffstat (limited to 'engines/agos/string_pn.cpp')
-rw-r--r-- | engines/agos/string_pn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/string_pn.cpp b/engines/agos/string_pn.cpp index ac8c263da3..4d4e2be16a 100644 --- a/engines/agos/string_pn.cpp +++ b/engines/agos/string_pn.cpp @@ -137,7 +137,7 @@ void AGOSEngine_PN::pcf(uint8 ch) { if ((ch != 32) || (_bp + _xofs != 50)) _buffer[_bp++] = ch; } - if ((ch != 254) && (!isspace(ch)) && (_bp < 60)) + if ((ch != 254) && (!Common::isSpace(ch)) && (_bp < 60)) return; /* We know have a case of needing to print the text */ if (_bp + _xofs > 50) { |