diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-02-21 18:04:37 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-02-21 18:04:37 +0200 |
commit | 49eebd59c5a30c3504af58e72a70791c7a06bcdc (patch) | |
tree | 25dbc2a2715563c96af5a806225ef59de0760717 /otfl-luat-dum.lua | |
parent | f96e3da3a512247c8f5dddfd392c70d2f9243607 (diff) | |
download | luaotfload-49eebd59c5a30c3504af58e72a70791c7a06bcdc.tar.gz |
Fix bug with loading font feature
Make sure |kind| is defined before calling |string.lower()| on it.
Diffstat (limited to 'otfl-luat-dum.lua')
-rw-r--r-- | otfl-luat-dum.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-luat-dum.lua b/otfl-luat-dum.lua index 19e95e2..a81131d 100644 --- a/otfl-luat-dum.lua +++ b/otfl-luat-dum.lua @@ -62,7 +62,7 @@ local remapper = { function resolvers.find_file(name,kind) name = string.gsub(name,"\\","\/") - kind = string.lower(kind) + kind = kind and string.lower(kind) return kpse.find_file(name,(kind and kind ~= "" and (remapper[kind] or kind)) or "tex") end |