summaryrefslogtreecommitdiff
path: root/src/ltablib.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-16 09:45:50 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-16 15:10:30 +0100
commit4161f6756dadef6cd5a5c2e1e75804122e892949 (patch)
treef229a3b3fee394fe9cc2c8a977196d62c09132e7 /src/ltablib.js
parent8388f1d2eb85bfc5fdbe1cfeb62e85a7d88403b5 (diff)
downloadfengari-4161f6756dadef6cd5a5c2e1e75804122e892949.tar.gz
fengari-4161f6756dadef6cd5a5c2e1e75804122e892949.tar.bz2
fengari-4161f6756dadef6cd5a5c2e1e75804122e892949.zip
string.format
Diffstat (limited to 'src/ltablib.js')
-rw-r--r--src/ltablib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltablib.js b/src/ltablib.js
index a7963d3..10d66eb 100644
--- a/src/ltablib.js
+++ b/src/ltablib.js
@@ -139,7 +139,7 @@ const tconcat = function(L) {
let i = lauxlib.luaL_optinteger(L, 3, 1);
last = lauxlib.luaL_optinteger(L, 4, last);
- let b = new lauxlib.luaL_Buffer();
+ let b = new lauxlib.luaL_Buffer(L);
lauxlib.luaL_buffinit(L, b);
for (; i < last; i++) {