summaryrefslogtreecommitdiff
path: root/luaotfload-diagnostics.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-05 20:52:25 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-05 20:52:25 +0100
commit74207efa91378a06eea07e24f65346e9e4a4eb3c (patch)
tree3521aac1fc7a28ff2a1c971eca94cf36ec53c06e /luaotfload-diagnostics.lua
parent9dc36bf3fc8a076d53b8abcb35c9c86f167a2d3a (diff)
parentc05e323e497d7d8e3befb371d6b78e1f91be83d9 (diff)
downloadluaotfload-74207efa91378a06eea07e24f65346e9e4a4eb3c.tar.gz
Merge branch 'font-matching'
Conflicts: NEWS luaotfload-database.lua luaotfload-override.lua luaotfload.dtx
Diffstat (limited to 'luaotfload-diagnostics.lua')
-rw-r--r--luaotfload-diagnostics.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/luaotfload-diagnostics.lua b/luaotfload-diagnostics.lua
index 2aa09fe..a11f9ea 100644
--- a/luaotfload-diagnostics.lua
+++ b/luaotfload-diagnostics.lua
@@ -54,12 +54,12 @@ end
local check_index = function (errcnt)
out "================= font names =================="
+ local name_index = names.data()
- if not names.data then
- names.data = names.load ()
+ if not name_index then
+ name_index = names.load ()
end
- local namedata = names.data
local mappings = namedata.mappings
if not namedata and namedata.formats and namedata.version then