mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 21:31:56 +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
37351ae55e
commit
af06535736
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>
|
2003-07-10 03:37 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Source/NSStringDrawing.m, Source/NSTextView.m: Adjust "really large"
|
* Source/NSStringDrawing.m, Source/NSTextView.m: Adjust "really large"
|
||||||
|
|
|
@ -1454,10 +1454,12 @@ static SEL getSel;
|
||||||
{
|
{
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
else
|
else if(_cells != 0)
|
||||||
{
|
{
|
||||||
return _cells[_dottedRow][_dottedColumn];
|
return _cells[_dottedRow][_dottedColumn];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setKeyCell: (NSCell *)aCell
|
- (void) setKeyCell: (NSCell *)aCell
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue