aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ltests.c b/ltests.c
index e99b2b61..1fb01cfd 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.142 2013/08/16 18:55:49 roberto Exp roberto $ 2** $Id: ltests.c,v 2.143 2013/08/16 19:02:31 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*/
@@ -718,8 +718,8 @@ static int table_query (lua_State *L) {
718 else 718 else
719 lua_pushliteral(L, "<undef>"); 719 lua_pushliteral(L, "<undef>");
720 pushobject(L, gval(gnode(t, i))); 720 pushobject(L, gval(gnode(t, i)));
721 if (gnext(&t->node[i])) 721 if (gnext(&t->node[i]) != 0)
722 lua_pushinteger(L, gnext(&t->node[i]) - t->node); 722 lua_pushinteger(L, gnext(&t->node[i]));
723 else 723 else
724 lua_pushnil(L); 724 lua_pushnil(L);
725 } 725 }