diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-09-25 19:15:03 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-09-25 19:15:03 +0200 |
commit | f7ecbf1b2c879f004c9276d5cec634814d78b576 (patch) | |
tree | 1b240cb2be3e9e3699741ffb7aae5bb88f8ff372 /tex/context/base/data-res.lua | |
parent | 6f8440fd75c76e40620c2110ac445ab92635460c (diff) | |
download | context-f7ecbf1b2c879f004c9276d5cec634814d78b576.tar.gz |
2014-09-25 19:00:00
Diffstat (limited to 'tex/context/base/data-res.lua')
-rw-r--r-- | tex/context/base/data-res.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/data-res.lua b/tex/context/base/data-res.lua index 3dd16c23b..13d7627d2 100644 --- a/tex/context/base/data-res.lua +++ b/tex/context/base/data-res.lua @@ -1459,6 +1459,9 @@ end -- -- -- end of main file search routing -- -- -- local function findfiles(filename,filetype,allresults) + if not filename or filename == "" then + return { } + end local result, status = collect_instance_files(filename,filetype or "",allresults) if not result or #result == 0 then local lowered = lower(filename) |