Fix crasher loading mozilla.org page

git-svn-id: svn://10.0.0.236/trunk@2513 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kostello
1998-05-28 18:31:44 +00:00
parent 0d0c63b1f0
commit 066a9ee625
2 changed files with 4 additions and 0 deletions

View File

@@ -331,6 +331,7 @@ void nsTableFrame::RecalcLayoutData()
r2 = row + rowSpan;
c = col;
last = col + colSpan -1;
last = PR_MIN(last,colCount-1);
while (c <= last)
{
@@ -372,6 +373,7 @@ void nsTableFrame::RecalcLayoutData()
c2 = col + colSpan;
r = row ;
last = row + rowSpan-1;
last = PR_MIN(last,rowCount-1);
while (r <= last)
{