summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
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 /luaotfload.dtx
parent4d31ba0f8b8ed4fbd49ce190a42ccaa891517198 (diff)
downloadluaotfload-b8514914b107cab480ea1aa9bb413b6a19707a4a.tar.gz
[main] fix file resolver
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx4
1 files changed, 2 insertions, 2 deletions
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