Fix to NSMatrix to prevent decoding issue.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17202 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-07-12 14:07:18 +00:00
parent 7d44f67c49
commit 0e8082c6c3
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-07-12 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSMatrix.m: -[NSMatrix keyCell] failed to check if the
_cells array is initialized before accessing it. This was causing
a core dump when unarchiving.
2003-07-10 03:37 Alexander Malmberg <alexander@malmberg.org>
* Source/NSStringDrawing.m, Source/NSTextView.m: Adjust "really large"

View file

@ -1454,10 +1454,12 @@ static SEL getSel;
{
return nil;
}
else
else if(_cells != 0)
{
return _cells[_dottedRow][_dottedColumn];
}
return nil;
}
- (void) setKeyCell: (NSCell *)aCell