summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-04 06:50:54 -0800
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-04 06:50:54 -0800
commit456abb72080d2366bab301a1a2172f01ae70452b (patch)
treebc3377c6179e53ab1700d526e9dccd16d3235abe /luaotfload-database.lua
parenta67eed2364954d8f7e12a9c2a6d873884c5320fb (diff)
parent9dc36bf3fc8a076d53b8abcb35c9c86f167a2d3a (diff)
downloadluaotfload-456abb72080d2366bab301a1a2172f01ae70452b.tar.gz
Merge pull request #144 from phi-gamma/master
sync + minor changes
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r--luaotfload-database.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua
index 1b20a84..34c06d1 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -419,7 +419,7 @@ load_names = function (dry_run)
[[This can take several minutes; please be patient.]])
data = update_names (fontnames_init (get_font_filter ()),
nil, dry_run)
- if not success then
+ if not data then
report ("both", 0, "db", "Database creation unsuccessful.")
end
end