Fix of by one error. (bug #1772)

Monotone-Parent: 825d6255230167e6f80d8015a569afa6bdb4cb7d
Monotone-Revision: 2c3f8544a30679096de28ae80a840c371b12d94b

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-04-16T22:37:26
maint-2.0.2
Jean Raby 2012-04-16 22:37:26 +00:00
parent 6aa627a800
commit 9db77482d5
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-04-16 Jean Raby <jraby@inverse.ca>
* SOPE/NGCards/iCalMonthlyRecurrenceCalculator.m
(-recurrenceRangesWithinCalendarDateRange:):
Fix of by one error. (bug #1772)
2012-04-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/NSString+Utilities.m (-encryptWithKey:)

View File

@ -247,7 +247,7 @@ static inline unsigned iCalDoWForNSDoW (int dow)
if (byMonth && [byMonth count] > 0)
{
int i;
for (i = 0; i <= 12; i++)
for (i = 0; i < 12; i++)
byMonthList[i] = [byMonth containsObject: [NSString stringWithFormat: @"%i", i + 1]];
}