diff --git a/Foundation/CPIndexSet.j b/Foundation/CPIndexSet.j index 10336d5cb..60e6736e9 100644 --- a/Foundation/CPIndexSet.j +++ b/Foundation/CPIndexSet.j @@ -747,7 +747,7 @@ if ((j = i + 1) < count) { [_ranges removeObjectsInRange:CPMakeRange(j, count - j)]; - + for (j = 0, count = shifts.length; j < count; ++j) [self addIndexesInRange:shifts[j]]; }