See ChangeLog

Monotone-Parent: 87f8dab4d95e1de1c7c969e371770ac2d74b83b1
Monotone-Revision: c7ad331417d6c2767578747a293dae8820497511

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-10-26T18:08:31
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-10-26 18:08:31 +00:00
parent bb283c5655
commit daba82aa37
2 changed files with 18 additions and 15 deletions

View File

@@ -12,6 +12,8 @@
* Updated the Mobile Device Configuration Guide
in order to document the iPhone OS 3.x configuration
settings (iPhone / iPod)
* UI/Scheduler/UIxComponentEditor.m (_handleCustomRRule:)
Improved the robustness of the code.
2009-10-24 Ludovic Marcotte <lmarcotte@inverse.ca>

View File

@@ -1639,22 +1639,23 @@ RANGE(2);
//
case 0:
{
if ([[self repeat2] intValue] > 0)
[theRule setFrequency: iCalRecurrenceFrequenceDaily];
if ([[self repeat1] intValue] > 0)
{
[theRule setFrequency: iCalRecurrenceFrequenceDaily];
if ([[self repeat1] intValue] == 0)
{
[theRule setInterval: [self repeat2]];
}
else
{
[theRule setByDayMask: (iCalWeekDayMonday
|iCalWeekDayTuesday
|iCalWeekDayWednesday
|iCalWeekDayThursday
|iCalWeekDayFriday)];
}
[theRule setByDayMask: (iCalWeekDayMonday
|iCalWeekDayTuesday
|iCalWeekDayWednesday
|iCalWeekDayThursday
|iCalWeekDayFriday)];
}
else
{
// Make sure we haven't received any junk....
if ([[self repeat2] intValue] < 1)
[self setRepeat2: @"1"];
[theRule setInterval: [self repeat2]];
}
}
break;