Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines

git-svn-id: svn://10.0.0.236/trunk@50705 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-10-14 23:10:59 +00:00
parent 18e9b9d2f5
commit 63bce01588
2 changed files with 2 additions and 2 deletions

View File

@@ -2203,7 +2203,7 @@ nsLineLayout::HorizontalAlignFrames(nsRect& aLineBounds, PRBool aAllowJustify)
pfd->mFrame->SetRect(pfd->mBounds);
pfd = pfd->mNext;
}
// aLineBounds.width += dx;
aLineBounds.width += dx;
}
if ((NS_STYLE_DIRECTION_RTL == psd->mDirection) &&