summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-05-17 16:25:54 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-05-17 16:25:54 +0300
commit6107598f5c25bfd6a8669d145ce4112c603b9e0f (patch)
tree9d4e83b25c38b061358952106e0ecce1f8b34919 /otfl-font-nms.lua
parent77e16fb8cde7fb30b4654311a8d7933524acd665 (diff)
downloadluaotfload-6107598f5c25bfd6a8669d145ce4112c603b9e0f.tar.gz
Fix bug in the previous commit
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index a3bc7e1..e40aa32 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -355,7 +355,7 @@ local function load_font(filename, fontnames, newfontnames, texmf)
newstatus[basefile].timestamp = timestamp
newstatus[basefile].index = newstatus[basefile].index or { }
- if db_timestamp == timestamp then
+ if db_timestamp == timestamp and not newstatus[basefile].index[1] then
for _,v in ipairs(status[basefile].index) do
local index = #newstatus[basefile].index
newmappings[#newmappings+1] = mappings[v]