diff options
| author | daurnimator <quae@daurnimator.com> | 2017-12-29 00:48:15 +1100 | 
|---|---|---|
| committer | daurnimator <quae@daurnimator.com> | 2017-12-29 02:32:41 +1100 | 
| commit | c93673f0af0ebdc5165cf0acc340f65b6c6fa786 (patch) | |
| tree | 9da0e536d0cb10e25fc4fe8df4705f87326136af /src/ltablib.js | |
| parent | f9375fcb71171d7b18190fa59ec402f7f68e26dd (diff) | |
| download | fengari-c93673f0af0ebdc5165cf0acc340f65b6c6fa786.tar.gz fengari-c93673f0af0ebdc5165cf0acc340f65b6c6fa786.tar.bz2 fengari-c93673f0af0ebdc5165cf0acc340f65b6c6fa786.zip | |
src/: Pass js string to luaL_opt(l)string
Diffstat (limited to 'src/ltablib.js')
| -rw-r--r-- | src/ltablib.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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); | 
