mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-12 03:27:07 +00:00
More changes now when we don't have with(self)
This commit is contained in:
1 parent
c297e926f9
commit
0280a10832
2 files changed
+28
-28
No files matched your search
@@ -217,7 +217,7 @@
|
||||
*/
|
||||
- (void)removeObject:(id)anObject
|
||||
{
|
||||
[self removeObject:anObject inRange:CPMakeRange(0, length)];
|
||||
[self removeObject:anObject inRange:CPMakeRange(0, self.length)];
|
||||
}
|
||||
|
||||
/*!
|
||||
@@ -232,7 +232,7 @@
|
||||
while ((index = [self indexOfObject:anObject inRange:aRange]) != CPNotFound)
|
||||
{
|
||||
[self removeObjectAtIndex:index];
|
||||
aRange = CPIntersectionRange(CPMakeRange(index, length - index), aRange);
|
||||
aRange = CPIntersectionRange(CPMakeRange(index, self.length - index), aRange);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user