diff options
author | Marius <mariausol@gmail.com> | 2011-07-19 12:40:15 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-07-19 12:40:15 +0300 |
commit | 4b73db70e44825563db88d9f5943551af419e457 (patch) | |
tree | c310c2a04269fcef49f5bc78c484f52f0709e4a1 /tex/context/base/file-job.lua | |
parent | e4c246fb375298e91e3e279b42b74bbbfdc63a91 (diff) | |
download | context-4b73db70e44825563db88d9f5943551af419e457.tar.gz |
beta 2011.07.19 11:22
Diffstat (limited to 'tex/context/base/file-job.lua')
-rw-r--r-- | tex/context/base/file-job.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/file-job.lua b/tex/context/base/file-job.lua index 7893b9396..8cd7ffeb8 100644 --- a/tex/context/base/file-job.lua +++ b/tex/context/base/file-job.lua @@ -37,10 +37,10 @@ local v_component = variables.component local function findctxfile(name) -- loc ? any ? if file.is_qualified_path(name) then -- maybe when no suffix do some test for tex return name - elseif not url.hasscheme(filename) then - return findbyscheme("loc",filename) or "" + elseif not url.hasscheme(name) then + return resolvers.finders.byscheme("loc",name) or "" else - return resolvers.findtexfile(filename) or "" + return resolvers.findtexfile(name) or "" end end |