aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 4e12a493..6ccc5042 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.21 2005/03/16 16:58:41 roberto Exp roberto $ 2** $Id: ltests.c,v 2.22 2005/03/23 17:51:11 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -430,7 +430,7 @@ static int listk (lua_State *L) {
430 lua_createtable(L, p->sizek, 0); 430 lua_createtable(L, p->sizek, 0);
431 for (i=0; i<p->sizek; i++) { 431 for (i=0; i<p->sizek; i++) {
432 luaA_pushobject(L, p->k+i); 432 luaA_pushobject(L, p->k+i);
433 lua_rawseti(L, -2, i+LUA_FIRSTINDEX); 433 lua_rawseti(L, -2, i+1);
434 } 434 }
435 return 1; 435 return 1;
436} 436}