diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-03 22:50:13 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-03 22:50:13 +0200 |
commit | 04f06993d2d9981267e803eaa7dd034a3d57f9eb (patch) | |
tree | 85f922f1a39fc82d8ece67a92d5afe855e9bf841 | |
parent | c1ce4dbe0869e6b276908232afc3336b67f69a78 (diff) | |
download | luaotfload-04f06993d2d9981267e803eaa7dd034a3d57f9eb.tar.gz |
[tool] interpret file lookup result correctly
-rwxr-xr-x | luaotfload-tool.lua | 7 |
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 |