From c35dc83455456e072b46a7de47ca6ac4d81ae37b Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 12 Dec 2004 23:01:08 +0000 Subject: Fixing ldirlib for compilation --- lib/lua/src/LuaLib/ldirlib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/lua') diff --git a/lib/lua/src/LuaLib/ldirlib.c b/lib/lua/src/LuaLib/ldirlib.c index 8997eb6..d12f1ab 100644 --- a/lib/lua/src/LuaLib/ldirlib.c +++ b/lib/lua/src/LuaLib/ldirlib.c @@ -104,5 +104,7 @@ int luaopen_dir (lua_State *L) { lua_pushnumber(L, 2); lua_setglobal(L, "FLAG_FILE"); + lua_pop(L, 1); + return 0; } -- cgit v1.2.3