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

git-svn-id: svn://10.0.0.236/trunk@40938 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com 1999-07-24 00:32:21 +00:00
parent d5b584d48c
commit 52ebdc69b8
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}