diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-27 17:24:46 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-27 17:25:07 +0200 |
commit | 6eaf632495bcd4a22f3e1067e0f76b7b512a85f4 (patch) | |
tree | 7fe7f36d4792a2cf86fa37cf678d8e96a10d75d5 /luaotfload-database.lua | |
parent | 07cefa074b4ee7afe700180631eb54911b0b1d6b (diff) | |
download | luaotfload-6eaf632495bcd4a22f3e1067e0f76b7b512a85f4.tar.gz |
fix bug that erased the db when suppressing updates
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r-- | luaotfload-database.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua index 60e321f..c160121 100644 --- a/luaotfload-database.lua +++ b/luaotfload-database.lua @@ -1414,7 +1414,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 |