aboutsummaryrefslogtreecommitdiff
path: root/src/loslib.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-04-20 22:19:16 +1000
committerdaurnimator <quae@daurnimator.com>2018-04-20 22:19:16 +1000
commit1cd5b00d25478b35deba1329d95a342062c51d4c (patch)
treed0a3c3233b2dbfc76a24638b673048eab9c0e2e1 /src/loslib.js
parent6934a870564f8fd2d5cd7df3446e293d070c9a9e (diff)
downloadfengari-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.js2
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);