From 55cffe50fd7f914cd41b75f41771969456eaa406 Mon Sep 17 00:00:00 2001 From: mccallum Date: Mon, 27 May 1996 15:03:26 +0000 Subject: [PATCH] ([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 --- Source/NSDictionary.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/NSDictionary.m b/Source/NSDictionary.m index 62fd396d3..94cb1c36c 100644 --- a/Source/NSDictionary.m +++ b/Source/NSDictionary.m @@ -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