diff options
author | Eugene Sandulenko | 2019-12-24 00:42:10 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-24 00:42:30 +0100 |
commit | 3d49d03ca77b531c95f88e03713012116640cfb7 (patch) | |
tree | 8984a9a3ab78918a792dd9bde7982eb80e1025a1 /engines/director/lingo | |
parent | 1e6ec8f3ac54584d0617b647bc379aca217d953c (diff) | |
download | scummvm-rg350-3d49d03ca77b531c95f88e03713012116640cfb7.tar.gz scummvm-rg350-3d49d03ca77b531c95f88e03713012116640cfb7.tar.bz2 scummvm-rg350-3d49d03ca77b531c95f88e03713012116640cfb7.zip |
DIRECTOR: LINGO: Fix clash with isspecial(3)
Diffstat (limited to 'engines/director/lingo')
-rw-r--r-- | engines/director/lingo/lingo-preprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-preprocessor.cpp b/engines/director/lingo/lingo-preprocessor.cpp index c98675a5f7..bd85b8b048 100644 --- a/engines/director/lingo/lingo-preprocessor.cpp +++ b/engines/director/lingo/lingo-preprocessor.cpp @@ -25,7 +25,7 @@ namespace Director { -bool isspecial(char c) { +bool isspec(char c) { return strchr("-+*/%%^:,()><&[]", c) != NULL; } @@ -41,7 +41,7 @@ static Common::String nexttok(const char *s, const char **newP = nullptr) { while (*s && (Common::isAlnum(*s) || *s == '.')) res += *s++; } else { - while (*s && isspecial(*s)) + while (*s && isspec(*s)) res += *s++; } |