summaryrefslogtreecommitdiff
path: root/tex/context/base/core-ctx.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-ctx.lua')
-rw-r--r--tex/context/base/core-ctx.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/core-ctx.lua b/tex/context/base/core-ctx.lua
index 816c8ff57..1dad7c2d7 100644
--- a/tex/context/base/core-ctx.lua
+++ b/tex/context/base/core-ctx.lua
@@ -73,7 +73,7 @@ local processfile = commands.processfile
local doifinputfileelse = commands.doifinputfileelse
function commands.processfile(name,maxreadlevel) -- overloaded
- local prepname = found and resolve(name)
+ local prepname = resolve(name)
if prepname then
return processfile(prepname,0)
end
@@ -81,7 +81,7 @@ function commands.processfile(name,maxreadlevel) -- overloaded
end
function commands.doifinputfileelse(name,depth)
- local prepname = found and resolve(name)
+ local prepname = resolve(name)
if prepname then
return doifinputfileelse(prepname,0)
end
@@ -89,5 +89,5 @@ function commands.doifinputfileelse(name,depth)
end
function commands.preparedfile(name)
- return (found and resolve(name)) or name
+ return resolve(name) or name
end