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:
Gregory John Casamento 2006-07-09 17:05:45 +00:00
parent 43fd188678
commit 9674692ac1
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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);
}
}
//