aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index b2035931..29f639a6 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.148 2011/06/02 19:31:40 roberto Exp roberto $ 2** $Id: lapi.c,v 2.149 2011/06/13 14:13: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*/
@@ -744,7 +744,7 @@ LUA_API void lua_rawseti (lua_State *L, int idx, int n) {
744 api_checknelems(L, 1); 744 api_checknelems(L, 1);
745 o = index2addr(L, idx); 745 o = index2addr(L, idx);
746 api_check(L, ttistable(o), "table expected"); 746 api_check(L, ttistable(o), "table expected");
747 setobj2t(L, luaH_setint(L, hvalue(o), n), L->top-1); 747 luaH_setint(L, hvalue(o), n, L->top - 1);
748 luaC_barrierback(L, gcvalue(o), L->top-1); 748 luaC_barrierback(L, gcvalue(o), L->top-1);
749 L->top--; 749 L->top--;
750 lua_unlock(L); 750 lua_unlock(L);