diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-14 08:30:45 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-03-14 09:09:52 +0100 |
commit | 0d51854b27836c485d0bac7a1a28c19fc61496f1 (patch) | |
tree | 0e5fc99d7b205b79ed10eab1f4ce49aa39f7ae59 /src/ltm.js | |
parent | f72e2999b92084a8e2d0cef8bfb3b52607bc8dd5 (diff) | |
download | fengari-0d51854b27836c485d0bac7a1a28c19fc61496f1.tar.gz fengari-0d51854b27836c485d0bac7a1a28c19fc61496f1.tar.bz2 fengari-0d51854b27836c485d0bac7a1a28c19fc61496f1.zip |
Use emscripten's utf8tojs string function
Diffstat (limited to 'src/ltm.js')
-rw-r--r-- | src/ltm.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ const ttypename = function(t) { const luaT_init = function(L) { L.l_G.tmname = []; for (let event in TMS) { - let name = lua.to_luastring(TMS[event], TMS[event].length); + let name = lua.to_luastring(TMS[event]); L.l_G.tmname.push(L.l_G.intern(name)); // Strings are already interned by JS } }; |