minor tweak to column handling

This commit is contained in:
buster@netscape.com
1998-10-27 08:38:56 +00:00
parent f7f6946ede
commit 86f2428eec
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1641,7 +1641,7 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext& aPresContext,
if (PR_TRUE==gsDebug || PR_TRUE==gsDebugIR) printf("TIF Reflow: Re-init layout strategy\n");
if (nsnull!=mTableLayoutStrategy)
{
mTableLayoutStrategy->Initialize(aDesiredSize.maxElementSize, mCellMap->GetColCount());
mTableLayoutStrategy->Initialize(aDesiredSize.maxElementSize, GetColCount());
mColumnWidthsValid=PR_TRUE;
}
}
+1 -1
View File
@@ -1641,7 +1641,7 @@ NS_METHOD nsTableFrame::Reflow(nsIPresContext& aPresContext,
if (PR_TRUE==gsDebug || PR_TRUE==gsDebugIR) printf("TIF Reflow: Re-init layout strategy\n");
if (nsnull!=mTableLayoutStrategy)
{
mTableLayoutStrategy->Initialize(aDesiredSize.maxElementSize, mCellMap->GetColCount());
mTableLayoutStrategy->Initialize(aDesiredSize.maxElementSize, GetColCount());
mColumnWidthsValid=PR_TRUE;
}
}