diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-16 09:45:50 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-16 15:10:30 +0100 |
commit | 4161f6756dadef6cd5a5c2e1e75804122e892949 (patch) | |
tree | f229a3b3fee394fe9cc2c8a977196d62c09132e7 /src/lutf8lib.js | |
parent | 8388f1d2eb85bfc5fdbe1cfeb62e85a7d88403b5 (diff) | |
download | fengari-4161f6756dadef6cd5a5c2e1e75804122e892949.tar.gz fengari-4161f6756dadef6cd5a5c2e1e75804122e892949.tar.bz2 fengari-4161f6756dadef6cd5a5c2e1e75804122e892949.zip |
string.format
Diffstat (limited to 'src/lutf8lib.js')
-rw-r--r-- | src/lutf8lib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lutf8lib.js b/src/lutf8lib.js index a1ce6bb..053fb56 100644 --- a/src/lutf8lib.js +++ b/src/lutf8lib.js @@ -112,7 +112,7 @@ const utfchar = function(L) { if (n === 1) /* optimize common case of single char */ pushutfchar(L, 1); else { - let b = new lauxlib.luaL_Buffer(); + let b = new lauxlib.luaL_Buffer(L); lauxlib.luaL_buffinit(L, b); for (let i = 1; i <= n; i++) { pushutfchar(L, i); |