summaryrefslogtreecommitdiff
path: root/tex/context/base/core-ctx.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-ctx.tex')
-rw-r--r--tex/context/base/core-ctx.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/core-ctx.tex b/tex/context/base/core-ctx.tex
index 9cd3de2b9..64f6b82ae 100644
--- a/tex/context/base/core-ctx.tex
+++ b/tex/context/base/core-ctx.tex
@@ -184,10 +184,12 @@
\the\everybeforereadfile
\ifcase\preprocessstate
% no checking or not found when using method 1
- \normalinput\readfilename
+% \normalinput\readfilename
+ \inputgivenfile\readfilename
\or
% found when using method 1 or 2
- \normalinput\readfilename\preprocesssuffix
+% \normalinput\readfilename\preprocesssuffix
+ \inputgivenfile{\readfilename\preprocesssuffix}%
\or
% not found when using method 2
\fi