From 9f1a8dbdd3ae7ec0b7ff5a916583f02135e21beb Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 23 Jan 2012 21:05:18 -0200 Subject: 'eqstr' -> 'luaS_eqstr' --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 86bfa792..ce740ebe 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.66 2011/11/28 17:25:48 roberto Exp roberto $ +** $Id: ltable.c,v 2.67 2011/11/30 12:41:45 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -458,7 +458,7 @@ const TValue *luaH_getint (Table *t, int key) { const TValue *luaH_getstr (Table *t, TString *key) { Node *n = hashstr(t, key); do { /* check whether `key' is somewhere in the chain */ - if (ttisstring(gkey(n)) && eqstr(rawtsvalue(gkey(n)), key)) + if (ttisstring(gkey(n)) && luaS_eqstr(rawtsvalue(gkey(n)), key)) return gval(n); /* that's it */ else n = gnext(n); } while (n); -- cgit v1.2.3-55-g6feb