summaryrefslogtreecommitdiff
path: root/otfl-luat-dum.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-luat-dum.lua')
-rw-r--r--otfl-luat-dum.lua2
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