diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -517,9 +517,7 @@ LUA_API void lua_rawcall (lua_State *L, int nargs, int nresults) { | |||
517 | lua_lock(L); | 517 | lua_lock(L); |
518 | api_checknelems(L, nargs+1); | 518 | api_checknelems(L, nargs+1); |
519 | func = L->top - (nargs+1); | 519 | func = L->top - (nargs+1); |
520 | luaD_call(L, func); | 520 | luaD_call(L, func, nresults); |
521 | if (nresults != LUA_MULTRET) | ||
522 | luaD_adjusttop(L, func + nresults); | ||
523 | lua_unlock(L); | 521 | lua_unlock(L); |
524 | } | 522 | } |
525 | 523 | ||