diff options
Diffstat (limited to 'src/compat.cpp')
-rw-r--r-- | src/compat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.cpp b/src/compat.cpp index 1d38917..336f716 100644 --- a/src/compat.cpp +++ b/src/compat.cpp | |||
@@ -29,7 +29,7 @@ LuaType luaG_getmodule(lua_State* L_, char const* name_) | |||
29 | // ################################################################################################# | 29 | // ################################################################################################# |
30 | 30 | ||
31 | // Copied from Lua 5.2 loadlib.c | 31 | // Copied from Lua 5.2 loadlib.c |
32 | static int luaL_getsubtable(lua_State* L_, int idx_, const char* fname_) | 32 | int luaL_getsubtable(lua_State* L_, int idx_, const char* fname_) |
33 | { | 33 | { |
34 | lua_getfield(L_, idx_, fname_); | 34 | lua_getfield(L_, idx_, fname_); |
35 | if (lua_istable(L_, -1)) | 35 | if (lua_istable(L_, -1)) |