From 915c29f8bd0d4b0435a4b51a6c7913f5e170d09e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 10 Jan 2025 15:11:54 -0300 Subject: Improvements in the manual Plus details --- lapi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index 01abfc15..4411cb29 100644 --- a/lapi.c +++ b/lapi.c @@ -671,9 +671,8 @@ static int auxgetstr (lua_State *L, const TValue *t, const char *k) { lu_byte tag; TString *str = luaS_new(L, k); luaV_fastget(t, str, s2v(L->top.p), luaH_getstr, tag); - if (!tagisempty(tag)) { + if (!tagisempty(tag)) api_incr_top(L); - } else { setsvalue2s(L, L->top.p, str); api_incr_top(L); -- cgit v1.2.3-55-g6feb