aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util/lua/lobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/util/lua/lobject.cpp')
-rw-r--r--engines/sword25/util/lua/lobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/util/lua/lobject.cpp b/engines/sword25/util/lua/lobject.cpp
index 1890aaae68..1ffee52556 100644
--- a/engines/sword25/util/lua/lobject.cpp
+++ b/engines/sword25/util/lua/lobject.cpp
@@ -90,7 +90,7 @@ int luaO_str2d (const char *s, lua_Number *result) {
if (*endptr == 'x' || *endptr == 'X') /* maybe an hexadecimal constant? */
*result = cast_num(strtoul(s, &endptr, 16));
if (*endptr == '\0') return 1; /* most common case */
- while (isSpace(*endptr)) endptr++;
+ while (Common::isSpace(*endptr)) endptr++;
if (*endptr != '\0') return 0; /* invalid trailing characters? */
return 1;
}