Monotone-Parent: 62223538a3329e0c79c5bc5ddbbd11a80304f861
Monotone-Revision: d8974f960db35f78a38f93bb8db0a573c1bf5ebe Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-02-08T18:31:30 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
a4c540e6be
commit
683a595c74
|
@ -243,6 +243,7 @@
|
|||
NSEnumerator *aptsEnumerator;
|
||||
NSDictionary *currentDayAppointment;
|
||||
NSCalendarDate *start, *end;
|
||||
int endHour;
|
||||
|
||||
if (!allAppointments)
|
||||
{
|
||||
|
@ -254,7 +255,11 @@
|
|||
[filteredAppointments autorelease];
|
||||
|
||||
start = [currentTableDay hour: [self dayStartHour] minute: 0];
|
||||
end = [currentTableDay hour: [self dayEndHour] minute: 0];
|
||||
endHour = [self dayEndHour];
|
||||
if (endHour < 24)
|
||||
end = [currentTableDay hour: [self dayEndHour] minute: 0];
|
||||
else
|
||||
end = [[currentTableDay tomorrow] hour: 0 minute: 0];
|
||||
|
||||
aptsEnumerator = [allAppointments objectEnumerator];
|
||||
currentDayAppointment = [aptsEnumerator nextObject];
|
||||
|
|
Loading…
Reference in a new issue