aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lapi.c3
1 files changed, 1 insertions, 2 deletions
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) {
671 lu_byte tag; 671 lu_byte tag;
672 TString *str = luaS_new(L, k); 672 TString *str = luaS_new(L, k);
673 luaV_fastget(t, str, s2v(L->top.p), luaH_getstr, tag); 673 luaV_fastget(t, str, s2v(L->top.p), luaH_getstr, tag);
674 if (!tagisempty(tag)) { 674 if (!tagisempty(tag))
675 api_incr_top(L); 675 api_incr_top(L);
676 }
677 else { 676 else {
678 setsvalue2s(L, L->top.p, str); 677 setsvalue2s(L, L->top.p, str);
679 api_incr_top(L); 678 api_incr_top(L);