diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-28 21:48:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-28 21:48:59 +0200 |
commit | 2a4bd00cef1a291059903e26a126b84718e47804 (patch) | |
tree | 1d9fd6cf9330afde47795f0178f68d418586a18b /src/if_lua.c | |
parent | 81530e36033dec2c2cd94af6dd48ceb0389e95a2 (diff) |
patch 8.2.3240: Lua print() does not work properlyv8.2.3240
Problem: Lua print() does not work properly.
Solution: Put back lua_pop().
Diffstat (limited to 'src/if_lua.c')
-rw-r--r-- | src/if_lua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if_lua.c b/src/if_lua.c index 79fb68168b..5810401633 100644 --- a/src/if_lua.c +++ b/src/if_lua.c @@ -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) |