diff options
Diffstat (limited to 'util/format.lua')
-rw-r--r-- | util/format.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/format.lua b/util/format.lua index efd92e3d..e93c9096 100644 --- a/util/format.lua +++ b/util/format.lua @@ -70,7 +70,8 @@ local function format(formatstring, ...) -- No UTF-8 or control characters, assumed to be the common case. return elseif option == "s" and t ~= "string" then - args[i] = tostring(arg); + arg = tostring(arg); + t = "string"; end if option ~= "s" and option ~= "q" and option ~= "p" then |