diff options
author | daurnimator <quae@daurnimator.com> | 2018-04-20 22:19:16 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-04-20 22:19:16 +1000 |
commit | 1cd5b00d25478b35deba1329d95a342062c51d4c (patch) | |
tree | d0a3c3233b2dbfc76a24638b673048eab9c0e2e1 /src/loslib.js | |
parent | 6934a870564f8fd2d5cd7df3446e293d070c9a9e (diff) | |
download | fengari-1cd5b00d25478b35deba1329d95a342062c51d4c.tar.gz fengari-1cd5b00d25478b35deba1329d95a342062c51d4c.tar.bz2 fengari-1cd5b00d25478b35deba1329d95a342062c51d4c.zip |
src/l*lib.js: Remove some uses of caching to_luastring
Diffstat (limited to 'src/loslib.js')
-rw-r--r-- | src/loslib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loslib.js b/src/loslib.js index 814d1b2..66bcb18 100644 --- a/src/loslib.js +++ b/src/loslib.js @@ -141,7 +141,7 @@ const os_date = function(L) { } if (stm === null) /* invalid date? */ - luaL_error(L, to_luastring("time result cannot be represented in this installation", true)); + luaL_error(L, to_luastring("time result cannot be represented in this installation")); if (s[i] === "*".charCodeAt(0) && s[i+1] === "t".charCodeAt(0)) { lua_createtable(L, 0, 9); /* 9 = number of fields */ setallfields(L, stm, utc); |