aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util/lua/lobject.cpp
diff options
context:
space:
mode:
authorMax Horn2012-02-20 16:03:39 +0100
committerMax Horn2012-02-20 16:18:27 +0100
commit4f8665fc836898ebf54fc73b1061125b748183bc (patch)
treeae393cd0822fab01bdcc38bd003ab186955eb270 /engines/sword25/util/lua/lobject.cpp
parent658080deeda79d20ea40643569fbcb072573e7cf (diff)
downloadscummvm-rg350-4f8665fc836898ebf54fc73b1061125b748183bc.tar.gz
scummvm-rg350-4f8665fc836898ebf54fc73b1061125b748183bc.tar.bz2
scummvm-rg350-4f8665fc836898ebf54fc73b1061125b748183bc.zip
COMMON: Move isFoo functions to namespace Common, add doxygen comments
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;
}