aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lapi.c b/lapi.c
index 319d1c68..a1033587 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.210 2014/05/13 19:40:28 roberto Exp roberto $ 2** $Id: lapi.c,v 2.211 2014/05/14 14:20:17 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*/
@@ -189,8 +189,8 @@ static void reverse (lua_State *L, StkId from, StkId to) {
189 for (; from < to; from++, to--) { 189 for (; from < to; from++, to--) {
190 TValue temp; 190 TValue temp;
191 setobj(L, &temp, from); 191 setobj(L, &temp, from);
192 setobj(L, from, to); 192 setobjs2s(L, from, to);
193 setobj(L, to, &temp); 193 setobj2s(L, to, &temp);
194 } 194 }
195} 195}
196 196