From a052aca642102261994b032f378974ae17ec605a Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 20 Jul 2007 20:19:14 +0000 Subject: [PATCH] Monotone-Parent: c4d3cbe29c684ce7129746af4cd979cf21d51b1f Monotone-Revision: 3c4bff66182b49f279964724e065b9b9a5bd8022 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-07-20T20:19:14 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/NSArray+Appointments.m | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/SoObjects/Appointments/NSArray+Appointments.m b/SoObjects/Appointments/NSArray+Appointments.m index 7f0f91145..f3915a014 100644 --- a/SoObjects/Appointments/NSArray+Appointments.m +++ b/SoObjects/Appointments/NSArray+Appointments.m @@ -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