aboutsummaryrefslogtreecommitdiff
path: root/src/compat.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-05-07 09:42:09 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-05-07 09:42:09 +0200
commit5c7ef34404d3367542275d76b49f276ab035639f (patch)
treede148388b0382d87bcc2caed72625e3dec829bda /src/compat.cpp
parent45a579cdb43917e648e2e801432f6e7820004614 (diff)
downloadlanes-5c7ef34404d3367542275d76b49f276ab035639f.tar.gz
lanes-5c7ef34404d3367542275d76b49f276ab035639f.tar.bz2
lanes-5c7ef34404d3367542275d76b49f276ab035639f.zip
Some more code refactorization
Diffstat (limited to 'src/compat.cpp')
-rw-r--r--src/compat.cpp2
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
32static int luaL_getsubtable(lua_State* L_, int idx_, const char* fname_) 32int 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))