diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.235 2003/04/07 14:36:08 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.236 2003/04/28 19:58:06 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -485,7 +485,7 @@ LUA_API void lua_gettable (lua_State *L, int idx) { | |||
485 | StkId t; | 485 | StkId t; |
486 | lua_lock(L); | 486 | lua_lock(L); |
487 | t = luaA_index(L, idx); | 487 | t = luaA_index(L, idx); |
488 | setobj2s(L->top - 1, luaV_gettable(L, t, L->top - 1, 0)); | 488 | luaV_gettable(L, t, L->top - 1, L->top - 1); |
489 | lua_unlock(L); | 489 | lua_unlock(L); |
490 | } | 490 | } |
491 | 491 | ||