diff --git a/macosx/NSMutableArrayAdditions.m b/macosx/NSMutableArrayAdditions.m index 0a18b6005..7de381059 100644 --- a/macosx/NSMutableArrayAdditions.m +++ b/macosx/NSMutableArrayAdditions.m @@ -41,7 +41,7 @@ } else { - for (NSUInteger i = fromIndex; i >= toIndex; --i) + for (NSUInteger i = fromIndex; i > toIndex; --i) [self replaceObjectAtIndex: i withObject: [self objectAtIndex: i-1]]; } [self replaceObjectAtIndex: toIndex withObject: object];