From 861becf8caec36af4785244b73bc0105560883e4 Mon Sep 17 00:00:00 2001
From: Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Date: Sun, 18 Dec 2022 16:50:27 +0900
Subject: [PATCH] forgot to update limit (#136)

---
 source/texk/web2c/ptexdir/ptex-base.ch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/texk/web2c/ptexdir/ptex-base.ch b/source/texk/web2c/ptexdir/ptex-base.ch
index 1c33b41f8..2ab5defc3 100644
--- a/source/texk/web2c/ptexdir/ptex-base.ch
+++ b/source/texk/web2c/ptexdir/ptex-base.ch
@@ -6864,7 +6864,7 @@ undump_things(char_base[null_font], font_ptr+1-null_font);
 @x
 fix_date_and_time;@/
 @y
-last:=ptenc_conv_first_line(loc, last, buffer, buf_size);
+last:=ptenc_conv_first_line(loc, last, buffer, buf_size); limit:=last;
 begin
 print_nl("debug 1st line "); print_int(loc); print(" ");
 for k:=0 to last do begin