diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-12-24 17:52:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-12-24 17:52:00 +0100 |
commit | aa4a1c3b114d386a588677f02f9adf7a81229ccf (patch) | |
tree | e917d8e041c043c6d71a6d87d80d8d9ec996a7e8 /tex/generic | |
parent | 7782983431dad86a7ee371ea6638b948a599e8c6 (diff) | |
download | context-aa4a1c3b114d386a588677f02f9adf7a81229ccf.tar.gz |
beta 2013.12.24 17:52
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 11 |
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 |