bug 154924 - use NS_FRAME_COMPLETE rather than macro as it was before bug 145305 was checked in. sr=kin

This commit is contained in:
karnaze%netscape.com 2002-07-03 01:44:51 +00:00
Родитель 28f33b3c33
Коммит ab4deb43a5
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -5444,7 +5444,7 @@ nsTextFrame::Reflow(nsIPresContext* aPresContext,
// - we fit in the available space. We may be complete, but if we
// return a larger desired width than is available we may get pushed
// and our frame width won't get set
if (NS_FRAME_IS_COMPLETE(aStatus) && (aMetrics.width <= maxWidth)) {
if ((NS_FRAME_COMPLETE == aStatus) && (aMetrics.width <= maxWidth)) {
mState |= TEXT_OPTIMIZE_RESIZE;
mRect.width = aMetrics.width;
}

Просмотреть файл

@ -5444,7 +5444,7 @@ nsTextFrame::Reflow(nsIPresContext* aPresContext,
// - we fit in the available space. We may be complete, but if we
// return a larger desired width than is available we may get pushed
// and our frame width won't get set
if (NS_FRAME_IS_COMPLETE(aStatus) && (aMetrics.width <= maxWidth)) {
if ((NS_FRAME_COMPLETE == aStatus) && (aMetrics.width <= maxWidth)) {
mState |= TEXT_OPTIMIZE_RESIZE;
mRect.width = aMetrics.width;
}