summaryrefslogtreecommitdiff
path: root/tex/context/base/data-res.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-06-26 11:37:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-06-26 11:37:00 +0200
commitc987f1f9c3add1eb3ad06ce40e9e1f521793cf77 (patch)
tree53b9dc8115aed15d5d17af3817360e75ba167b46 /tex/context/base/data-res.lua
parent113472b1fb39f29dd8f02f31b5be100eb3e71536 (diff)
downloadcontext-c987f1f9c3add1eb3ad06ce40e9e1f521793cf77.tar.gz
beta 2011.06.26 11:37
Diffstat (limited to 'tex/context/base/data-res.lua')
-rw-r--r--tex/context/base/data-res.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/data-res.lua b/tex/context/base/data-res.lua
index d6de90ef0..773f7d58e 100644
--- a/tex/context/base/data-res.lua
+++ b/tex/context/base/data-res.lua
@@ -1152,7 +1152,7 @@ local function find_intree(filename,filetype,wantedfiles,allresults)
if not subpath or subpath == "" then
-- rootscan already done
elseif type(subpath) == "string" then
- local fname = check_subpath(filejoin(ppname,subpath,w))
+ local fname = check_subpath(filejoin(pname,subpath,w))
if fname then
result[#result+1] = fname
done = true
@@ -1166,7 +1166,7 @@ local function find_intree(filename,filetype,wantedfiles,allresults)
if sp == "" then
-- roottest already done
else
- local fname = check_subpath(filejoin(ppname,sp,w))
+ local fname = check_subpath(filejoin(pname,sp,w))
if fname then
result[#result+1] = fname
done = true