diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-01-02 08:21:15 -0800 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-01-02 08:21:15 -0800 |
commit | 85a3a931dfe9426d461f9b3e3e2d9605d34df04a (patch) | |
tree | 39f4af5083739e253a699c1b5f1f5cb076dc0547 /luaotfload.dtx | |
parent | 99b0c374da13ece6ddad510a8695257e4b9a07bd (diff) | |
parent | 9fd4c4523b1e69b5c49de7fda01da5540e60fcda (diff) | |
download | luaotfload-85a3a931dfe9426d461f9b3e3e2d9605d34df04a.tar.gz |
Merge pull request #163 from phi-gamma/master
hotfix for v2.4
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r-- | luaotfload.dtx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx index adbdf26..08f56af 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -2078,13 +2078,14 @@ request_resolvers.path = function (specification) name) file_resolver (specification) else - local suffix = filesuffix (name) - if formats[suffix] then - specification.forced = suffix - specification.name = file.removesuffix(name) - else - specification.name = name - end + local suffix = filesuffix (name) + if formats[suffix] then + specification.forced = suffix + specification.name = file.removesuffix(name) + specification.forcedname = name + else + specification.name = name + end end end |