([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:
mccallum 1996-05-27 15:03:26 +00:00
parent fe8cc21412
commit 55cffe50fd

View file

@ -199,9 +199,8 @@ static Class NSMutableDictionary_concrete_class;
- (NSString*) descriptionWithIndent: (unsigned)level
{
/* xxx Fix this when we get %@ working in format strings. */
return [NSString stringWithFormat:@"%*s%s",
level, "", [[self description] cString]];
level, "", [[self description] cStringNoCopy]];
}
- (NSArray*) allKeys