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:24:46 +0200 |
commit | a537c457fa3490f6028c38374601689dce60fe86 (patch) | |
tree | c1ac23194de351b3b6fc9b291ce1d111f4fd248c | |
parent | ee9575c0015f06571d238a87e982595c9d996c54 (diff) | |
download | luaotfload-a537c457fa3490f6028c38374601689dce60fe86.tar.gz |
fix bug that erased the db when suppressing updates
-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 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 |