mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
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:
parent
7d44f67c49
commit
0e8082c6c3
2 changed files with 9 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -1454,10 +1454,12 @@ static SEL getSel;
|
|||
{
|
||||
return nil;
|
||||
}
|
||||
else
|
||||
else if(_cells != 0)
|
||||
{
|
||||
return _cells[_dottedRow][_dottedColumn];
|
||||
}
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) setKeyCell: (NSCell *)aCell
|
||||
|
|
Loading…
Reference in a new issue