mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
b17da14fe9
commit
2390909f51
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue