fix mac bustage

git-svn-id: svn://10.0.0.236/trunk@83863 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com
2000-12-19 21:16:41 +00:00
parent 8215e2bcf8
commit dc562ca5cb
2 changed files with 4 additions and 2 deletions

View File

@@ -615,8 +615,9 @@ BasicTableLayoutStrategy::ComputeNonPctColspanWidths(PRInt32 aWidthInd
PRInt32 numAutoCols = 0;
nscoord spacingX = mTableFrame->GetCellSpacingX();
PRInt32 spanX;
// accumulate the various divisors to be used later
for (PRInt32 spanX = 0; spanX < aColSpan; spanX++) {
for (spanX = 0; spanX < aColSpan; spanX++) {
nsTableColFrame* colFrame = mTableFrame->GetColFrame(aColIndex + spanX);
if (!colFrame) continue;
nscoord minWidth = PR_MAX(colFrame->GetMinWidth(), 0);