From 899c7b3135218caea602b53ebc8616afdd398627 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 25 Apr 2008 15:15:05 +0000 Subject: [PATCH] Monotone-Parent: 34c654fc982f81e34f7e9da9fa20842cc3a6474a Monotone-Revision: e1dfc6f99fa7ee268a57e41fbd7edf9f87b4801a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-04-25T15:15:05 Monotone-Branch: ca.inverse.sogo --- UI/Scheduler/UIxComponentEditor.m | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/UI/Scheduler/UIxComponentEditor.m b/UI/Scheduler/UIxComponentEditor.m index 27ad5be29..c53b8d7d1 100644 --- a/UI/Scheduler/UIxComponentEditor.m +++ b/UI/Scheduler/UIxComponentEditor.m @@ -176,8 +176,7 @@ iRANGE(2); um = [LDAPUserManager sharedUserManager]; attendees = [[component attendees] objectEnumerator]; - currentAttendee = [attendees nextObject]; - while (currentAttendee) + while ((currentAttendee = [attendees nextObject])) { [names appendFormat: @"%@,", [currentAttendee cn]]; [emails appendFormat: @"%@,", [currentAttendee rfc822Email]]; @@ -186,8 +185,8 @@ iRANGE(2); [uids appendFormat: @"%@,", uid]; else [uids appendString: @","]; - [states appendFormat: @"%@,", [[currentAttendee partStat] lowercaseString]]; - currentAttendee = [attendees nextObject]; + [states appendFormat: @"%@,", + [[currentAttendee partStat] lowercaseString]]; } if ([names length] > 0)