mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
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:
parent
4959cde7e5
commit
a15b2ef62f
10 changed files with 210 additions and 23 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue