Revert "blua: fix copy paste error for "slow path" in auxgetstr/lua_getfield"

This reverts commit b652d802f5.
This commit is contained in:
alufolie91 committed 2026-05-15 11:53:26 +02:00
1 parent e854096ca0
commit 1c75dd0401
1 file changed
+3 -2
+3 -2
View File
@@ -526,12 +526,13 @@ static void auxgetstr (lua_State *L, TValue *t, const char *k) {
api_checkvalidindex(L, t);
if (luaV_fastget(L, t, str, slot, luaH_getstr)) {
setobj2s(L, L->top, slot);
api_incr_top(L);
}
else {
setsvalue(L, &key, str);
luaV_finishget(L, t, &key, L->top, slot);
luaV_finishget(L, t, L->top, L->top, slot);
api_incr_top(L);
}
api_incr_top(L);
lua_unlock(L);
}