Ask line if we are breakable instead of using our own logic

This commit is contained in:
kipp%netscape.com 1999-03-21 01:13:17 +00:00
parent 2dda57ddc1
commit 75735878ad
2 changed files with 2 additions and 2 deletions

View File

@ -2215,7 +2215,7 @@ TextFrame::Reflow(nsIPresContext& aPresContext,
PRInt32 prevColumn = column;
mColumn = column;
PRBool breakable = !lineLayout.LineIsEmpty();
PRBool breakable = lineLayout.LineIsBreakable();
for (;;) {
// Get next word/whitespace from the text
PRBool isWhitespace;

View File

@ -2215,7 +2215,7 @@ TextFrame::Reflow(nsIPresContext& aPresContext,
PRInt32 prevColumn = column;
mColumn = column;
PRBool breakable = !lineLayout.LineIsEmpty();
PRBool breakable = lineLayout.LineIsBreakable();
for (;;) {
// Get next word/whitespace from the text
PRBool isWhitespace;