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-13 18:15:46 +0200
commitd093c5555ec439affcfbecdceabfb122aa8c2f73 (patch)
treede148388b0382d87bcc2caed72625e3dec829bda /src/compat.cpp
parentebb0837588336e32fc1258a3838673afdd31ee71 (diff)
downloadlanes-d093c5555ec439affcfbecdceabfb122aa8c2f73.tar.gz
lanes-d093c5555ec439affcfbecdceabfb122aa8c2f73.tar.bz2
lanes-d093c5555ec439affcfbecdceabfb122aa8c2f73.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))