oops. crazy_width only defined for debug builds. Changing this.

This commit is contained in:
hyatt%netscape.com 1999-07-24 00:32:21 +00:00
Родитель ca9519fb92
Коммит 47afcf5681
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -157,7 +157,7 @@ PRBool FixedTableLayoutStrategy::AssignPreliminaryColumnWidths(nscoord aComputed
nscoord lastColAllocated = -1;
nscoord remainingWidth = availWidth - totalColWidth;
if (CRAZY_WIDTH(remainingWidth)) {
if (remainingWidth >= 500000) {
// let's put a cap on the width so that it doesn't become insane.
remainingWidth = 100;
}

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

@ -157,7 +157,7 @@ PRBool FixedTableLayoutStrategy::AssignPreliminaryColumnWidths(nscoord aComputed
nscoord lastColAllocated = -1;
nscoord remainingWidth = availWidth - totalColWidth;
if (CRAZY_WIDTH(remainingWidth)) {
if (remainingWidth >= 500000) {
// let's put a cap on the width so that it doesn't become insane.
remainingWidth = 100;
}