summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/eptexdir/eptex.ech
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/eptexdir/eptex.ech')
-rw-r--r--Build/source/texk/web2c/eptexdir/eptex.ech2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/eptexdir/eptex.ech b/Build/source/texk/web2c/eptexdir/eptex.ech
index 02696bb9707..5702c3a4b95 100644
--- a/Build/source/texk/web2c/eptexdir/eptex.ech
+++ b/Build/source/texk/web2c/eptexdir/eptex.ech
@@ -343,7 +343,7 @@ epTeX_input_encoding_code:@<Implement \.{\\epTeXinputencoding}@>;
begin
scan_file_name;
pack_cur_name;
- if setinfileenc(cur_file,stringcast(name_of_file+1)) = false then
+ if setinfileenc(input_file[in_open],stringcast(name_of_file+1)) = false then
begin
wlog_cr;
wlog('Unknown encoding `');