summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
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 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