summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lobject.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lobject.js b/src/lobject.js
index dafeb88..cea9975 100644
--- a/src/lobject.js
+++ b/src/lobject.js
@@ -453,7 +453,7 @@ const luaO_pushvfstring = function(L, fmt, argp) {
pushstr(L, defs.to_luastring(String.fromCodePoint(argp[a++])));
break;
case char['%']:
- pushstr(L, char['%']);
+ pushstr(L, [char['%']]);
break;
default: {
ldebug.luaG_runerror(L, defs.to_luastring("invalid option '%%%c' to 'lua_pushfstring'"), fmt[e + 1]);