diff options
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 34d1365..d3dc3a2 100644 --- a/src/lutf8lib.js +++ b/src/lutf8lib.js @@ -219,7 +219,7 @@ const iter_aux = function(L) { else { let dec = utf8_decode(s, n); if (dec === null || iscont(s[dec.pos])) - return luaL_error(L, to_luastring("invalid UTF-8 code", true)); + return luaL_error(L, to_luastring("invalid UTF-8 code")); lua_pushinteger(L, n + 1); lua_pushinteger(L, dec.code); return 2; |