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:
Richard Frith-MacDonald 1999-05-06 14:42:26 +00:00
parent 5a805f1ed0
commit 325ffedf2a
9 changed files with 467 additions and 442 deletions

View file

@ -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];
}