From 659254b404dc7bc37b9dfc2c8e9ce8f55dfbd574 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 16 May 2010 20:44:59 +0300 Subject: Simplify If it isn't a font collection file (which is true if we reach here) then the index always == 1. As a side effect, fixes a mysterious bug with --no-shell-escape causing all files to have empty index and the same timestamp. --- otfl-font-nms.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index ff848ce..11ab891 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -340,7 +340,7 @@ local function load_font(filename, fontnames, newfontnames, texmf) else local fullinfo = font_fullinfo(filename, false, texmf) newmappings[#newmappings+1] = fullinfo - newstatus[filename].index[#newstatus[filename].index+1] = #newmappings + newstatus[filename].index[1] = #newmappings end else if trace_loading then -- cgit v1.2.3