summaryrefslogtreecommitdiff
path: root/tex/context/base/mult-clm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mult-clm.lua')
-rw-r--r--tex/context/base/mult-clm.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/mult-clm.lua b/tex/context/base/mult-clm.lua
index 044e31d2b..e2fff18dc 100644
--- a/tex/context/base/mult-clm.lua
+++ b/tex/context/base/mult-clm.lua
@@ -126,9 +126,11 @@ function mkiv.tolist(t)
for i=1,#t do
r[i] = t[i]
end
+ local n = #r
for k,v in table.sortedhash(t) do
if type(k) ~= "number" then
- r[#r+1] = k .. "=" .. v
+ n = n + 1
+ r[n] = k .. "=" .. v
end
end
return concat(r,", ")