summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index e8513be..e95bba4 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -823,13 +823,10 @@ actions.query = function (job)
then
foundname, subfont = names.resolve (nil, nil, tmpspec)
if foundname then
- foundname = names.crude_file_lookup (foundname)
- if foundname then
- success = true
- end
+ foundname, _, success = names.crude_file_lookup (foundname)
end
elseif tmpspec.lookup == "file" then
- foundname, subfont, success =
+ foundname, _, success =
names.crude_file_lookup (tmpspec.name)
end