mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.3240: Lua print() does not work properly
Problem: Lua print() does not work properly. Solution: Put back lua_pop().
This commit is contained in:
@@ -1737,6 +1737,7 @@ luaV_print(lua_State *L)
|
||||
if (i > 1)
|
||||
luaL_addchar(&b, ' '); // use space instead of tab
|
||||
luaV_addlstring(&b, s, l, 0);
|
||||
lua_pop(L, 1);
|
||||
}
|
||||
luaL_pushresult(&b);
|
||||
if (!got_int)
|
||||
|
Reference in New Issue
Block a user