diff options
author | Martin T. H. Sandsmark | 2020-04-10 15:10:20 +0200 |
---|---|---|
committer | Martin T. H. Sandsmark | 2020-04-10 15:11:01 +0200 |
commit | 8e5315d0d38633c0fec1665ea15b71a03a8a835d (patch) | |
tree | db220e7ffd6f02f18e6a83e81c2ef3cdee726562 /lua-port.patch | |
parent | 8dccec433c1c060f800920d16dfe2fb4420105c6 (diff) | |
download | aur-8e5315d0d38633c0fec1665ea15b71a03a8a835d.tar.gz |
clean up and fix build
Diffstat (limited to 'lua-port.patch')
-rw-r--r-- | lua-port.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua-port.patch b/lua-port.patch new file mode 100644 index 000000000000..b72f7c487699 --- /dev/null +++ b/lua-port.patch @@ -0,0 +1,13 @@ +diff --git Source/Core/Lua/LuaEventListener.cpp Source/Core/Lua/LuaEventListener.cpp +index 23e74e5..ab91b52 100644 +--- Source/Core/Lua/LuaEventListener.cpp ++++ Source/Core/Lua/LuaEventListener.cpp +@@ -79,7 +79,7 @@ LuaEventListener::LuaEventListener(lua_State* L, int narg) + + LuaEventListener::~LuaEventListener() + { +- lua_unref(Interpreter::GetLuaState(), luaFuncRef); ++ luaL_unref(Interpreter::GetLuaState(), LUA_REGISTRYINDEX, luaFuncRef); + } + + /// Process the incoming Event |