summaryrefslogtreecommitdiff
path: root/src/lobject.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lobject.js')
-rw-r--r--src/lobject.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lobject.js b/src/lobject.js
index c02bc91..1b490f3 100644
--- a/src/lobject.js
+++ b/src/lobject.js
@@ -547,6 +547,7 @@ const luaO_pushvfstring = function(L, fmt, argp) {
let s = argp[a++];
if (s === null) s = defs.to_luastring("(null)", true);
else {
+ s = defs.from_userstring(s);
/* respect null terminator */
let i = s.indexOf(0);
if (i !== -1)