mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Correct test for custom class in loadFileWrapper:withDocument:. The NSLog was indicating a problem when there wasn't one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23152 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
43fd188678
commit
9674692ac1
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-07-09 13:04 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormNibWrapperLoader.m: Correct test for customClass or
|
||||
name in loadFileWrapper:withDocument:.
|
||||
|
||||
2006-07-09 11:18 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormCustomView.m: initWithCoder: move call to get customView
|
||||
|
|
|
@ -242,9 +242,12 @@
|
|||
NSString *customClass = NSMapGet(classes, o);
|
||||
if(name != nil && customClass != nil)
|
||||
{
|
||||
NSLog(@"Name or class is nil.");
|
||||
[classManager setCustomClass: customClass forName: name];
|
||||
}
|
||||
else
|
||||
{
|
||||
NSLog(@"Name %@ or class %@ for object %@ is nil.", name, customClass, o);
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue