diff options
Diffstat (limited to 'src/lua/graphics')
-rw-r--r-- | src/lua/graphics/luaopen_JSL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/graphics/luaopen_JSL.cpp b/src/lua/graphics/luaopen_JSL.cpp index 9b9071c..7c59937 100644 --- a/src/lua/graphics/luaopen_JSL.cpp +++ b/src/lua/graphics/luaopen_JSL.cpp @@ -30,7 +30,7 @@ namespace lua COLOR, }; - static VARIABLE_TYPE strtotype(const char* str) + static VARIABLE_TYPE strToType(const char* str) { std::string s = std::string(str); if (s == "number") return NUMBER; @@ -55,7 +55,7 @@ namespace lua const char* variable = luax_checkstring(L, 3); if (typestr != nullptr) { - int type = strtotype(typestr); + int type = strToType(typestr); switch (type) { case NUMBER: |