Fixed the for (PRInt32 i=) problem

This commit is contained in:
atotic 1998-07-01 22:40:00 +00:00
Родитель 4bd5c7b252
Коммит 9689fc070a
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -959,7 +959,8 @@ void nsTableRowGroupFrame::ShrinkWrapChildren(nsIPresContext* aPresContext,
if (rowSpan > 1)
{ // found a cell with rowspan > 1, determine it's height
nscoord heightOfRowsSpanned = 0;
for (PRInt32 i = 0; i < rowSpan; i++)
PRInt32 i;
for ( i = 0; i < rowSpan; i++)
heightOfRowsSpanned += rowHeights[rowIndex + i];
heightOfRowsSpanned -= topInnerMargin + bottomInnerMargin;

Просмотреть файл

@ -959,7 +959,8 @@ void nsTableRowGroupFrame::ShrinkWrapChildren(nsIPresContext* aPresContext,
if (rowSpan > 1)
{ // found a cell with rowspan > 1, determine it's height
nscoord heightOfRowsSpanned = 0;
for (PRInt32 i = 0; i < rowSpan; i++)
PRInt32 i;
for ( i = 0; i < rowSpan; i++)
heightOfRowsSpanned += rowHeights[rowIndex + i];
heightOfRowsSpanned -= topInnerMargin + bottomInnerMargin;