From bbfcf1ff5258028530de7613486d005d4b2741eb Mon Sep 17 00:00:00 2001 From: CaS Date: Mon, 10 Mar 2003 12:57:43 +0000 Subject: [PATCH] Fix places passing "" where the null pointer (value 0) is more appropriate. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16160 72102866-910b-0410-8b05-ffd578937521 --- Source/NSString.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/NSString.m b/Source/NSString.m index 20375b7cf..d82ac58ec 100644 --- a/Source/NSString.m +++ b/Source/NSString.m @@ -632,7 +632,7 @@ handle_printf_atsign (FILE *stream, } else { - self = [self initWithCharactersNoCopy: (unichar*)"" + self = [self initWithCharactersNoCopy: (unichar*)0 length: 0 freeWhenDone: NO]; } @@ -704,7 +704,7 @@ handle_printf_atsign (FILE *stream, } else { - self = [self initWithCharactersNoCopy: (unichar*)"" + self = [self initWithCharactersNoCopy: (unichar*)0 length: 0 freeWhenDone: NO]; } @@ -768,7 +768,7 @@ handle_printf_atsign (FILE *stream, } else { - self = [self initWithCharactersNoCopy: (unichar*)"" + self = [self initWithCharactersNoCopy: (unichar*)0 length: 0 freeWhenDone: NO]; } @@ -1148,7 +1148,7 @@ handle_printf_atsign (FILE *stream, if (len == 0) { - self = [self initWithCharactersNoCopy: (unichar*)"" + self = [self initWithCharactersNoCopy: (unichar*)0 length: 0 freeWhenDone: NO]; } @@ -1245,7 +1245,7 @@ handle_printf_atsign (FILE *stream, } if (len == 0) { - self = [self initWithCharactersNoCopy: (unichar*)"" + self = [self initWithCharactersNoCopy: (unichar*)0 length: 0 freeWhenDone: NO]; } @@ -1395,7 +1395,7 @@ handle_printf_atsign (FILE *stream, - (id) init { - self = [self initWithCharactersNoCopy: (unichar*)"" + self = [self initWithCharactersNoCopy: (unichar*)0 length: 0 freeWhenDone: 0]; return self;