Varous tidyups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25330 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2007-07-14 04:34:00 +00:00
parent 350af41dcc
commit 89a0cb9080
7 changed files with 329 additions and 284 deletions

View file

@ -839,7 +839,7 @@ static SEL rlSel;
- (NSArray *) objectsAtIndexes: (NSIndexSet *)indexes
{
//FIXME: probably slow!
NSMutableArray * group = [NSMutableArray arrayWithCapacity: [indexes count]];
NSMutableArray *group = [NSMutableArray arrayWithCapacity: [indexes count]];
unsigned i = [indexes firstIndex];
while (i != NSNotFound)
@ -1732,7 +1732,7 @@ compare(id elem1, id elem2, void* context)
unsigned indexArray[count];
[indexes getIndexes: indexArray
maxCount:count
maxCount: count
inIndexRange: NULL];
[self removeObjectsFromIndices: indexArray