summaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 141d88f6..0642db6b 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.148 2000/12/04 18:33:40 roberto Exp roberto $ 2** $Id: lvm.c,v 1.149 2000/12/28 12:55:41 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -325,7 +325,7 @@ static void luaV_pack (lua_State *L, StkId firstelem) {
325 for (i=0; firstelem+i<L->top; i++) 325 for (i=0; firstelem+i<L->top; i++)
326 *luaH_setint(L, htab, i+1) = *(firstelem+i); 326 *luaH_setint(L, htab, i+1) = *(firstelem+i);
327 /* store counter in field `n' */ 327 /* store counter in field `n' */
328 luaH_setstrnum(L, htab, luaS_new(L, "n"), i); 328 luaH_setstrnum(L, htab, luaS_newliteral(L, "n"), i);
329 L->top = firstelem; /* remove elements from the stack */ 329 L->top = firstelem; /* remove elements from the stack */
330 ttype(L->top) = LUA_TTABLE; 330 ttype(L->top) = LUA_TTABLE;
331 hvalue(L->top) = htab; 331 hvalue(L->top) = htab;