summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-12-24 19:00:25 +0200
committerMarius <mariausol@gmail.com>2013-12-24 19:00:25 +0200
commitf3cbe661ac115c29ab8c0674fc857d3331d5d4cc (patch)
tree1c79021e973473f5a9ff685ec72d34c3d50dabec /tex/generic
parentb03109b881e3990c8896847c367ae73b44a59c8b (diff)
downloadcontext-f3cbe661ac115c29ab8c0674fc857d3331d5d4cc.tar.gz
beta 2013.12.24 17:52
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex/luatex-fonts-merged.lua11
1 files changed, 7 insertions, 4 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua
index bf787ba6d..177324145 100644
--- a/tex/generic/context/luatex/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 12/22/13 19:05:41
+-- merge date : 12/24/13 17:52:44
do -- begin closure to overcome local limits and interference
@@ -922,10 +922,13 @@ local function sortedhash(t,cmp)
s=sortedkeys(t)
end
local n=0
+ local m=#s
local function kv(s)
- n=n+1
- local k=s[n]
- return k,t[k]
+ if n<m then
+ n=n+1
+ local k=s[n]
+ return k,t[k]
+ end
end
return kv,s
else