fix crash. when I launch apprunner -pref, I hit the assertion.

then I crash because I dereference null.


git-svn-id: svn://10.0.0.236/trunk@37668 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
1999-07-01 07:28:47 +00:00
parent f04cb93173
commit c35619cc53
2 changed files with 2 additions and 0 deletions

View File

@@ -113,6 +113,7 @@ PRBool FixedTableLayoutStrategy::AssignPreliminaryColumnWidths(nscoord aComputed
// Get column information
nsTableColFrame* colFrame = mTableFrame->GetColFrame(colX);
NS_ASSERTION(nsnull != colFrame, "bad col frame");
if (!colFrame) return PR_FALSE;
// Get the columns's style
const nsStylePosition* colPosition;