summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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