From 6107598f5c25bfd6a8669d145ce4112c603b9e0f Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Mon, 17 May 2010 16:25:54 +0300 Subject: Fix bug in the previous commit --- otfl-font-nms.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otfl-font-nms.lua') 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] -- cgit v1.2.3