diff options
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/pdftex.web | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index 108d6ce8808..2e9265de4a2 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,9 @@ +2020-06-03 Thanh Han The <hanthethanh@gmail.com> + + * pdftex.web: Initialize save_tail to avoid garbage values. + Remove unnecessary codes. Both from Hironobu Yamashita. + pdftex r829. + 2020-06-02 Thanh Han The <hanthethanh@gmail.com> * pdftex.web (auto_kern): @d=3, rather than "explicit". diff --git a/Build/source/texk/web2c/pdftexdir/pdftex.web b/Build/source/texk/web2c/pdftexdir/pdftex.web index 7a3340f59c4..1bf5e58e72c 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftex.web +++ b/Build/source/texk/web2c/pdftexdir/pdftex.web @@ -4996,7 +4996,7 @@ any more details about the page-building process. @<Set init...@>= nest_ptr:=0; max_nest_stack:=0; mode:=vmode; head:=contrib_head; tail:=contrib_head; -eTeX_aux:=null; +eTeX_aux:=null; save_tail:=null; prev_depth:=ignore_depth; mode_line:=0; prev_graf:=0; shown_mode:=0; @<Start a new current page@>; @@ -17241,9 +17241,9 @@ begin (save_tail <> null) then begin r := save_tail; - while (r <> null) and (link(r) <> null) and (link(r) <> p) do + while (link(r) <> null) and (link(r) <> p) do r := link(r); - if (r <> null) and (link(r) = p) then + if (link(r) = p) then set_char_and_font(r); {set |f| and |c| if |r| is a char or ligature} end; if (c = non_char) then |