Pathces from Frith-MacDonald, Yamato, Jenkins.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2709 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1998-01-26 14:18:18 +00:00
parent 4959cde7e5
commit a15b2ef62f
10 changed files with 210 additions and 23 deletions

View file

@ -590,7 +590,6 @@ handle_printf_atsign (FILE *stream,
{
buffer[i] = [self characterAtIndex: aRange.location+i];
}
buffer[aRange.length] = (unichar)0;
}
// Combining Strings
@ -2678,14 +2677,13 @@ else
// Modify A String
/* Inefficient. */
- (void) appendString: (NSString*)aString
{
id tmp;
if (!aString)
return;
tmp = [self stringByAppendingString:aString];
[self setString:tmp];
NSRange aRange;
aRange.location = [self length];
aRange.length = 0;
[self replaceCharactersInRange: aRange withString: aString];
}
/* Inefficient. */