Corrected [NSMutableArray arrayWithObject:] to

return obj instead of self.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8083 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2000-11-12 13:58:52 +00:00
parent b17da14fe9
commit 2390909f51

View file

@ -828,7 +828,7 @@ static NSString *indentStrings[] = {
NSMutableArray *obj = [self allocWithZone: NSDefaultMallocZone()];
obj = [obj initWithObjects: &anObject count: 1];
return AUTORELEASE(self);
return AUTORELEASE(obj);
}
- (Class) classForCoder