diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-04-02 14:04:40 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-04-02 14:04:40 +0200 |
commit | 2b596d525fc8df86b636725304e4b5d6dbeb37f8 (patch) | |
tree | 1ee87e83eacbed49abcec2604b63098aa35def37 /otfl-font-nms.lua | |
parent | 4081b9d3af76fa03df2205254f0ae21481d0dfec (diff) | |
download | luaotfload-2b596d525fc8df86b636725304e4b5d6dbeb37f8.tar.gz |
Oops!
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r-- | otfl-font-nms.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index 5a7e460..ebd9b28 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -264,8 +264,8 @@ local function load_font(filename, fontnames, status, newfontnames, newstatus, t newstatus[filename].timestamp = timestamp newstatus[filename].index = {} if db_timestamp == timestamp then - for i in ipairs(status[filename].index) do - mappings[#mappings+1] = oldmappings[i] + for _,v in ipairs(status[filename].index) do + mappings[#mappings+1] = oldmappings[v] table.insert(newstatus[filename].index, #mappings) end if trace_loading then |