summaryrefslogtreecommitdiff
path: root/lib/lua/src/LuaLib
diff options
context:
space:
mode:
authorpixel <pixel>2004-12-12 23:01:08 +0000
committerpixel <pixel>2004-12-12 23:01:08 +0000
commitc35dc83455456e072b46a7de47ca6ac4d81ae37b (patch)
tree8e1959e0ddb21d664b53537df0d04e3daf97c631 /lib/lua/src/LuaLib
parent343b79939ec69483a478ace5ab402463523f8e83 (diff)
Fixing ldirlib for compilation
Diffstat (limited to 'lib/lua/src/LuaLib')
-rw-r--r--lib/lua/src/LuaLib/ldirlib.c2
1 files changed, 2 insertions, 0 deletions
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;
}