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

then I crash because I dereference null.
This commit is contained in:
sspitzer@netscape.com
1999-07-01 07:28:47 +00:00
parent 1234d9f3d4
commit cad5db2cdd
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;