Monotone-Parent: ede91a980338742748957c740a70ce61e1bcccae
Monotone-Revision: cb36ec3f7d193b795240d0061daae4db88f1c337 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-03-22T20:56:57 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
430c2261f8
commit
9921bba68b
|
@ -379,11 +379,9 @@ static inline unsigned iCalDoWForNSDoW (int dow)
|
||||||
{
|
{
|
||||||
// When dealing with the month of the first occurence, remove days
|
// When dealing with the month of the first occurence, remove days
|
||||||
// that occur before the first occurrence.
|
// that occur before the first occurrence.
|
||||||
int i;
|
memset (monthDays, NO, sizeof (BOOL) * eventDayOfMonth);
|
||||||
for (i = 1; i < eventDayOfMonth; i++)
|
|
||||||
monthDays[i] = NO;
|
|
||||||
// The first occurrence must always be included.
|
// The first occurrence must always be included.
|
||||||
monthDays[i] = YES;
|
monthDays[eventDayOfMonth] = YES;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue