summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-09-22 09:35:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-09-22 09:35:00 +0200
commitd0b8d7f9a7f3d423f750c0078cc1d906de14b939 (patch)
treef4f0f84187f82602468dae7113b7cce7e568fcf2 /tex/generic
parent1b0f23b6023d92d5436a01ba4e2171ff7e0a70f6 (diff)
downloadcontext-d0b8d7f9a7f3d423f750c0078cc1d906de14b939.tar.gz
beta 2010.09.22 09:35
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex-fonts-merged.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/generic/context/luatex-fonts-merged.lua b/tex/generic/context/luatex-fonts-merged.lua
index 102f0db3b..4c221ae12 100644
--- a/tex/generic/context/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 09/16/10 10:46:45
+-- merge date : 09/22/10 09:35:53
do -- begin closure to overcome local limits and interference
@@ -736,7 +736,7 @@ local function sortedkeys(tab)
elseif tkey == "number" then
-- if kind == 1 then kind = 3 else kind = 2 end
kind = (kind == 1 and 3) or 2
- else
+ else -- if tkey then
kind = 3
end
end
@@ -752,7 +752,9 @@ end
local function sortedhashkeys(tab) -- fast one
local srt = { }
for key,_ in next, tab do
- srt[#srt+1] = key
+ if key then
+ srt[#srt+1] = key
+ end
end
sort(srt)
return srt