From c93673f0af0ebdc5165cf0acc340f65b6c6fa786 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 29 Dec 2017 00:48:15 +1100 Subject: src/: Pass js string to luaL_opt(l)string --- src/ltablib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ltablib.js') diff --git a/src/ltablib.js b/src/ltablib.js index 70ff595..56671c4 100644 --- a/src/ltablib.js +++ b/src/ltablib.js @@ -130,7 +130,7 @@ const tmove = function(L) { const tconcat = function(L) { let last = aux_getn(L, 1, TAB_R); - let sep = lauxlib.luaL_optlstring(L, 2, lua.to_luastring("")); + let sep = lauxlib.luaL_optlstring(L, 2, ""); let i = lauxlib.luaL_optinteger(L, 3, 1); last = lauxlib.luaL_optinteger(L, 4, last); -- cgit v1.2.3-54-g00ecf