mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
Monotone-Parent: c4d3cbe29c684ce7129746af4cd979cf21d51b1f
Monotone-Revision: 3c4bff66182b49f279964724e065b9b9a5bd8022 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-07-20T20:19:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -26,16 +26,17 @@
|
||||
|
||||
@implementation NSMutableArray (iCalPersonConvenience)
|
||||
|
||||
- (void)removePerson: (iCalPerson *)_person {
|
||||
- (void) removePerson: (iCalPerson *) _person
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = [self count] - 1; i >= 0; i--) {
|
||||
iCalPerson *p;
|
||||
iCalPerson *p;
|
||||
|
||||
p = [self objectAtIndex:i];
|
||||
if ([p hasSameEmailAddress:_person])
|
||||
[self removeObjectAtIndex:i];
|
||||
}
|
||||
for (i = [self count] - 1; i >= 0; i--)
|
||||
{
|
||||
p = [self objectAtIndex: i];
|
||||
if ([p hasSameEmailAddress: _person])
|
||||
[self removeObjectAtIndex: i];
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user