From cfcea12ba0e6a40d7c04ac64c75563db0896985c Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 24 Aug 2023 09:21:38 +0800 Subject: update Lua 5.4. --- src/3rdParty/lua/lobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/3rdParty/lua/lobject.c') diff --git a/src/3rdParty/lua/lobject.c b/src/3rdParty/lua/lobject.c index f73ffc6..9cfa522 100644 --- a/src/3rdParty/lua/lobject.c +++ b/src/3rdParty/lua/lobject.c @@ -542,7 +542,7 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) { addstr2buff(&buff, fmt, strlen(fmt)); /* rest of 'fmt' */ clearbuff(&buff); /* empty buffer into the stack */ lua_assert(buff.pushed == 1); - return svalue(s2v(L->top.p - 1)); + return getstr(tsvalue(s2v(L->top.p - 1))); } -- cgit v1.2.3-55-g6feb