mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +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
ada3326d42
commit
58f7363054
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…
Add table
Add a link
Reference in a new issue