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:
parent
d5b584d48c
commit
52ebdc69b8
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user