diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2011-02-05 23:49:30 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-02-05 23:49:58 +0200 |
commit | 9a6fb44bd9e80bc41d78c58eb6d7bb38cd692672 (patch) | |
tree | 50e43fa8092f1b63163dfcd01cec5f4796f61cbf /otfl-font-nms.lua | |
parent | 954ff3284ad0a7ffa11ce64b05afedba7d09c713 (diff) | |
download | luaotfload-9a6fb44bd9e80bc41d78c58eb6d7bb38cd692672.tar.gz |
Fix infinite loop
names.load() calls names.update() without an argument if no font
database is found, but the later will call the former if invoked without
an argument. Now calling names.update() with an empty names database.
fixes #23
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r-- | otfl-font-nms.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index 828359b..d32f22f 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -68,7 +68,7 @@ local function load_names() else logs.info([[Font names database not found, generating new one. This can take several minutes; please be patient.]]) - data = names.update() + data = names.update(fontnames_init()) names.save(data) end return data |