Correction for bug#15348.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22275 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-01-09 11:25:48 +00:00
parent fb2b9aa03e
commit 8b0935da69

View file

@ -168,7 +168,6 @@
{
if ((self = [super init]) != nil)
{
NSString *bundlePath = nil;
NSString *fileName = nil;
if (bundle == nil)
@ -177,8 +176,7 @@
}
// initialize the bundle...
bundlePath = [bundle pathForNibResource: nibNamed];
fileName = [bundlePath stringByAppendingPathComponent: nibNamed];
fileName = [bundle pathForNibResource: nibNamed];
// load the nib data into memory...
[self _readNibData: fileName];