From b8514914b107cab480ea1aa9bb413b6a19707a4a Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Fri, 1 Nov 2013 13:03:48 +0100 Subject: [main] fix file resolver --- luaotfload-override.lua | 2 +- luaotfload.dtx | 4 ++-- 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 -- cgit v1.2.3