fixed compile errors for mac

git-svn-id: svn://10.0.0.236/trunk@1984 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
thom
1998-05-19 23:11:28 +00:00
parent e456af6993
commit 38a3d3a5fc
18 changed files with 41 additions and 29 deletions

View File

@@ -1621,6 +1621,7 @@ void nsTableFrame::ShrinkWrapChildren(nsIPresContext* aPresContext,
// iterate children, tell all row groups to ShrinkWrap
PRBool atLeastOneRowSpanningCell = PR_FALSE;
PRInt32 rowIndex;
PRInt32 tableHeight = 0;
nsStyleSpacing* spacing = (nsStyleSpacing*)
@@ -1657,7 +1658,7 @@ void nsTableFrame::ShrinkWrapChildren(nsIPresContext* aPresContext,
rowGroupFrame->ChildCount(numRows);
PRInt32 *rowHeights = new PRInt32[numRows];
if (gsDebug==PR_TRUE) printf("Height Step 1...\n");
for (PRInt32 rowIndex = 0; rowIndex < numRows; rowIndex++)
for (rowIndex = 0; rowIndex < numRows; rowIndex++)
{
// get the height of the tallest cell in the row (excluding cells that span rows)
nsTableRowFrame *rowFrame;