summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-05-04 00:14:00 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-05-04 00:14:00 -0700
commit213b9e54f678b56ec3b095a21dc527bc2293b9cc (patch)
tree0768cd1518d0ffe568c0673fc1552082410c6227 /luaotfload-tool.lua
parentf349a934661594c945ad118d85cfd3a7b4a296b8 (diff)
parent76830b0a04dbd8ce620edd79d6a18d3d4cb8bcf0 (diff)
downloadluaotfload-213b9e54f678b56ec3b095a21dc527bc2293b9cc.tar.gz
Merge pull request #40 from phi-gamma/master
fix issue #36
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index bb935cf..0833842 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -253,11 +253,10 @@ actions.generate = function (job)
end
actions.flush = function (job)
- local success, fontnames = names.flush_cache()
+ local success, lookups = names.flush_cache()
if success then
- local savedname = names.save(fontnames)
- logs.names_report("info", 2, "cache",
- "Cache emptied", #fontnames.mappings)
+ local savedname = names.save_lookups()
+ logs.names_report("info", 2, "cache", "Cache emptied")
if savedname then
return true, true
end