summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-27 17:24:46 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-27 17:24:46 +0200
commita537c457fa3490f6028c38374601689dce60fe86 (patch)
treec1ac23194de351b3b6fc9b291ce1d111f4fd248c /luaotfload-database.lua
parentee9575c0015f06571d238a87e982595c9d996c54 (diff)
downloadluaotfload-a537c457fa3490f6028c38374601689dce60fe86.tar.gz
fix bug that erased the db when suppressing updates
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 25c136b..0f2f8dd 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -1425,7 +1425,7 @@ update_names = function (fontnames, force, dry_run)
report("info", 2, "db",
"skipping database update")
--- skip all db updates
- return fontnames
+ return fontnames or names.data
end
local starttime = os.gettimeofday()
local n_scanned, n_new = 0, 0