mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Minor optimisations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4212 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5a805f1ed0
commit
325ffedf2a
9 changed files with 467 additions and 442 deletions
|
@ -590,8 +590,8 @@ static IMP msInitImp; /* designated initialiser for mutable */
|
|||
}
|
||||
*ptr++ = '"';
|
||||
*ptr = '\0';
|
||||
result = [[_fastCls._NSGCString alloc] initWithCStringNoCopy: buf
|
||||
length: length+2 fromZone: z];
|
||||
result = [[_fastCls._NSGCString allocWithZone: NSDefaultMallocZone()]
|
||||
initWithCStringNoCopy: buf length: length+2 fromZone: z];
|
||||
[output appendString: result];
|
||||
[result release];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue