Monotone-Parent: ede91a980338742748957c740a70ce61e1bcccae

Monotone-Revision: cb36ec3f7d193b795240d0061daae4db88f1c337

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-03-22T20:56:57
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-03-22 20:56:57 +00:00
parent 430c2261f8
commit 9921bba68b
1 changed files with 2 additions and 4 deletions

View File

@ -379,11 +379,9 @@ static inline unsigned iCalDoWForNSDoW (int dow)
{
// When dealing with the month of the first occurence, remove days
// that occur before the first occurrence.
int i;
for (i = 1; i < eventDayOfMonth; i++)
monthDays[i] = NO;
memset (monthDays, NO, sizeof (BOOL) * eventDayOfMonth);
// The first occurrence must always be included.
monthDays[i] = YES;
monthDays[eventDayOfMonth] = YES;
}
}
else