diff options
author | Martin Ruckert <martin.ruckert@hm.edu> | 2022-01-29 17:02:13 +0000 |
---|---|---|
committer | Martin Ruckert <martin.ruckert@hm.edu> | 2022-01-29 17:02:13 +0000 |
commit | 110e42fd2f94722cf5e145bda41b54da655fa5d6 (patch) | |
tree | 9ea9775b278ceb371c4d00fa45d80540e08da0bf /Build/source/texk | |
parent | 5be13c28be1f219e52bfb9f74c6581dac5894fa5 (diff) |
fixing bug in hline_break: loosing first part of word in each paragraph
git-svn-id: svn://tug.org/texlive/trunk@61787 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/hitexdir/hitex.w | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/hitexdir/hitex.w b/Build/source/texk/web2c/hitexdir/hitex.w index 366cff436ea..39f032723d3 100644 --- a/Build/source/texk/web2c/hitexdir/hitex.w +++ b/Build/source/texk/web2c/hitexdir/hitex.w @@ -30329,11 +30329,11 @@ static void hline_break(int final_widow_penalty) } auto_breaking=true; if (option_hyphen_first && is_char_node(link(temp_head))) - { cur_p = new_glue(zero_glue); - link(cur_p)=link(temp_head); + { pointer p = new_glue(zero_glue); + link(p)=link(temp_head); + link(temp_head) =p; } - else - cur_p=link(temp_head); + cur_p=link(temp_head); while (cur_p!=null) { /*Call |try_break| if |cur_p| is a legal breakpoint...*/ if (is_char_node(cur_p)) |