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:
FredKiefer 2000-11-12 13:58:52 +00:00
parent ada3326d42
commit 58f7363054

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