mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 10:00:51 +00:00
([NSDictionary -descriptionWithIndent:]): Use -cStringNoCopy instead
of -cString. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1558 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fe8cc21412
commit
55cffe50fd
1 changed files with 1 additions and 2 deletions
|
@ -199,9 +199,8 @@ static Class NSMutableDictionary_concrete_class;
|
||||||
|
|
||||||
- (NSString*) descriptionWithIndent: (unsigned)level
|
- (NSString*) descriptionWithIndent: (unsigned)level
|
||||||
{
|
{
|
||||||
/* xxx Fix this when we get %@ working in format strings. */
|
|
||||||
return [NSString stringWithFormat:@"%*s%s",
|
return [NSString stringWithFormat:@"%*s%s",
|
||||||
level, "", [[self description] cString]];
|
level, "", [[self description] cStringNoCopy]];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSArray*) allKeys
|
- (NSArray*) allKeys
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue