Attempt to fix the mac build.

This commit is contained in:
warren@netscape.com
1999-07-28 08:56:12 +00:00
parent 541821e18e
commit 8192e46937
2 changed files with 4 additions and 2 deletions
@@ -556,7 +556,8 @@ PRBool BasicTableLayoutStrategy::AssignPreliminaryColumnWidths(nscoord aMaxWidth
continue;
nscoord spanTotal = 0;
nscoord divisor = 0;
for (PRInt32 spanX = 0; spanX < colSpan; spanX++) {
PRInt32 spanX;
for (spanX = 0; spanX < colSpan; spanX++) {
nsTableColFrame* colFrame = mTableFrame->GetColFrame(colX + spanX);
nscoord colWidth = colFrame->GetWidth(widthX);
// need to get a contribution for every cell