summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-01 13:03:48 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-01 13:03:48 +0100
commitb8514914b107cab480ea1aa9bb413b6a19707a4a (patch)
tree691c6d056b9165ff2c6c9865dc724a8e5a6f7d69
parent4d31ba0f8b8ed4fbd49ce190a42ccaa891517198 (diff)
downloadluaotfload-b8514914b107cab480ea1aa9bb413b6a19707a4a.tar.gz
[main] fix file resolver
-rw-r--r--luaotfload-override.lua2
-rw-r--r--luaotfload.dtx4
2 files changed, 3 insertions, 3 deletions
diff --git a/luaotfload-override.lua b/luaotfload-override.lua
index 8e467d5..1326182 100644
--- a/luaotfload-override.lua
+++ b/luaotfload-override.lua
@@ -144,7 +144,7 @@ logs.set_logout = set_logout
local log = function (category, fmt, ...)
local res = { module_name, "|", category, ":" }
- if fmt then res[#res+1] = stringformat(fmt, ...) end
+ if fmt then res[#res+1] = stringformat(fmt, ...) end
texiowrite_nl(logout, tableconcat(res, " "))
end
diff --git a/luaotfload.dtx b/luaotfload.dtx
index 5be6094..bf75d1b 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -1933,8 +1933,8 @@ request_resolvers.file = function (specification)
local name = resolvefile(specification.name)
local suffix = file.suffix(name)
if formats[suffix] then
- specification.forced = suffix
- specification.name = file.removesuffix(name)
+ specification.forced = suffix
+ specification.forcedname = file.removesuffix(name)
else
specification.name = name
end