summaryrefslogtreecommitdiff
path: root/src/lstrlib.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lstrlib.js')
-rw-r--r--src/lstrlib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lstrlib.js b/src/lstrlib.js
index 5bd08d4..f6353a0 100644
--- a/src/lstrlib.js
+++ b/src/lstrlib.js
@@ -111,7 +111,7 @@ const num2straux = function(x) {
return ['-'.charCodeAt(0)].concat(zero);
return zero;
} else {
- let fe = lobject.frexp(x); /* 'x' fraction and exponent */
+ let fe = luaconf.frexp(x); /* 'x' fraction and exponent */
let m = fe[0];
let e = fe[1];
let n = 0; /* character count */