summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2015-01-19 17:17:37 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2015-01-19 17:17:37 +0000
commit1aa4470067cb344063b75325aa0d4da4a9e90b63 (patch)
tree6fce899dd065676b6bf7afcf7cda96839edfe202 /Build/source/texk
parentc8441c7824f0922397522ab135488f5b7277de63 (diff)
Fix widow penalty regression from RTL changes
git-svn-id: svn://tug.org/texlive/trunk@36092 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/xetexdir/xetex.web4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/xetexdir/xetex.web b/Build/source/texk/web2c/xetexdir/xetex.web
index f3b9cbf809b..1cadd63c26a 100644
--- a/Build/source/texk/web2c/xetexdir/xetex.web
+++ b/Build/source/texk/web2c/xetexdir/xetex.web
@@ -24559,7 +24559,7 @@ end;
procedure end_graf;
begin if mode=hmode then
begin if head=tail then pop_nest {null paragraphs are ignored}
- else line_break(widow_penalty);
+ else line_break(false);
if LR_save<>null then
begin flush_list(LR_save); LR_save:=null;
end;
@@ -25190,7 +25190,7 @@ display. Then we can set the proper values of |display_width| and
begin if head=tail then {`\.{\\noindent\$\$}' or `\.{\$\${ }\$\$}'}
begin pop_nest; w:=-max_dimen;
end
-else begin line_break(display_widow_penalty);@/
+else begin line_break(true);@/
@<Calculate the natural width, |w|, by which the characters of the
final line extend to the right of the reference point,
plus two ems; or set |w:=max_dimen| if the non-blank information