Minor correction to previous change.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27142 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-11-27 05:43:44 +00:00
parent 4c043a0017
commit efd8695609
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-11-27 00:48-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibCompatibility.m: Minor correction to previous change.
2008-11-26 21:09-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibCompatibility.m: Correct bug #24780. There was an issue

View file

@ -998,7 +998,8 @@ static BOOL _isInInterfaceBuilder = NO;
// if this is a class which uses cells, override with the new cellClass, if the
// subclass responds to cellClass.
if ([newClass respondsToSelector: @selector(cellClass)] &&
if ([obj isKindOfClass: [NSCell class]] &&
[newClass respondsToSelector: @selector(cellClass)] &&
[_className isEqualToString: _originalClassName] == NO)
{
Class newCellClass = [newClass cellClass];