diff options
Diffstat (limited to '')
-rw-r--r-- | lapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |