summaryrefslogtreecommitdiff
path: root/tex/context/base/util-str.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/util-str.lua')
-rw-r--r--tex/context/base/util-str.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/util-str.lua b/tex/context/base/util-str.lua
index cc21fb4d5..4890a11d6 100644
--- a/tex/context/base/util-str.lua
+++ b/tex/context/base/util-str.lua
@@ -221,7 +221,7 @@ function string.autodouble(s,sep)
return tostring(s) -- tostring not really needed
end
if t == "table" then
- return ('"' .. sequenced(t,sep or ",") .. '"')
+ return ('"' .. sequenced(s,sep or ",") .. '"')
end
return ('"' .. tostring(s) .. '"')
end
@@ -235,7 +235,7 @@ function string.autosingle(s,sep)
return tostring(s) -- tostring not really needed
end
if t == "table" then
- return ("'" .. sequenced(t,sep or ",") .. "'")
+ return ("'" .. sequenced(s,sep or ",") .. "'")
end
return ("'" .. tostring(s) .. "'")
end