From b8514914b107cab480ea1aa9bb413b6a19707a4a Mon Sep 17 00:00:00 2001
From: Philipp Gesang <phg42.2a@gmail.com>
Date: Fri, 1 Nov 2013 13:03:48 +0100
Subject: [main] fix file resolver

---
 luaotfload.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'luaotfload.dtx')

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

