aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/director/lingo/lingo-preprocessor.cpp4
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++;
}