From 36e1390631a4b89f0a8a3111978780de0d53466c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 31 Mar 2000 13:28:45 -0300 Subject: details. --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 86357920..299821ca 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 1.37 2000/03/27 20:10:21 roberto Exp roberto $ +** $Id: ltable.c,v 1.38 2000/03/29 20:19:20 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -198,7 +198,7 @@ void luaH_set (lua_State *L, Hash *t, const TObject *key, const TObject *val) { mp->key = *key; mp->val = *val; for (;;) { /* check free places */ - if (ttype(&(t->firstfree)->key) == TAG_NIL) + if (ttype(&t->firstfree->key) == TAG_NIL) return; /* OK; table still has a free place */ else if (t->firstfree == t->node) break; /* cannot decrement from here */ else (t->firstfree)--; -- cgit v1.2.3-55-g6feb