summaryrefslogtreecommitdiff
path: root/luaotfload-diagnostics.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-06 09:42:36 -0800
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-06 09:42:36 -0800
commit90e060ed1717f6a14cf06bc394cf857782a7c140 (patch)
tree93fd2a149fbaf64938513d4e991414eeb4c3bd80 /luaotfload-diagnostics.lua
parent456abb72080d2366bab301a1a2172f01ae70452b (diff)
parent19d57e135e09d9311d0e17c6f7c375a161b8c37f (diff)
downloadluaotfload-90e060ed1717f6a14cf06bc394cf857782a7c140.tar.gz
Merge pull request #145 from phi-gamma/master
move to new index format
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