diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ LUA_API void lua_settop (lua_State *L, int idx) { | |||
188 | diff = idx + 1; /* will "subtract" index (as it is negative) */ | 188 | diff = idx + 1; /* will "subtract" index (as it is negative) */ |
189 | } | 189 | } |
190 | if (diff < 0 && hastocloseCfunc(ci->nresults)) | 190 | if (diff < 0 && hastocloseCfunc(ci->nresults)) |
191 | luaF_close(L, L->top + diff, LUA_OK); | 191 | luaF_close(L, L->top + diff, CLOSEKTOP); |
192 | L->top += diff; /* correct top only after closing any upvalue */ | 192 | L->top += diff; /* correct top only after closing any upvalue */ |
193 | lua_unlock(L); | 193 | lua_unlock(L); |
194 | } | 194 | } |