aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lbaselib.c b/lbaselib.c
index c27c7c01..bb5a0d7f 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.12 2000/10/20 16:39:03 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.13 2000/10/20 16:57:42 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -138,8 +138,7 @@ static int luaB_settag (lua_State *L) {
138 luaL_checktype(L, 1, LUA_TTABLE); 138 luaL_checktype(L, 1, LUA_TTABLE);
139 lua_pushvalue(L, 1); /* push table */ 139 lua_pushvalue(L, 1); /* push table */
140 lua_settag(L, luaL_check_int(L, 2)); 140 lua_settag(L, luaL_check_int(L, 2));
141 lua_pop(L, 1); /* remove second argument */ 141 return 1; /* return table */
142 return 1; /* return first argument */
143} 142}
144 143
145static int luaB_newtag (lua_State *L) { 144static int luaB_newtag (lua_State *L) {