From 52ebdc69b867e73e00a8efeb32052aa520d89b83 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Sat, 24 Jul 1999 00:32:21 +0000 Subject: [PATCH] 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 --- mozilla/layout/html/table/src/FixedTableLayoutStrategy.cpp | 2 +- mozilla/layout/tables/FixedTableLayoutStrategy.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/html/table/src/FixedTableLayoutStrategy.cpp b/mozilla/layout/html/table/src/FixedTableLayoutStrategy.cpp index caa2e6ad105..3176567187e 100644 --- a/mozilla/layout/html/table/src/FixedTableLayoutStrategy.cpp +++ b/mozilla/layout/html/table/src/FixedTableLayoutStrategy.cpp @@ -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; } diff --git a/mozilla/layout/tables/FixedTableLayoutStrategy.cpp b/mozilla/layout/tables/FixedTableLayoutStrategy.cpp index caa2e6ad105..3176567187e 100644 --- a/mozilla/layout/tables/FixedTableLayoutStrategy.cpp +++ b/mozilla/layout/tables/FixedTableLayoutStrategy.cpp @@ -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; }