Merge branch 'master' of github.com:inverse-inc/sogo

This commit is contained in:
InverseBot 2016-02-03 14:00:01 -05:00
commit c4fdba678e

View file

@ -111,6 +111,7 @@
if ([rules count] > 0)
{
// Consider first rule only
rule = [rules objectAtIndex: 0];
frequency = [rule frequencyForValue: [rule frequency]];
@ -168,7 +169,7 @@
if ([o isKindOfClass: [NSString class]])
{
frequency = [rule valueForFrequency: o];
if ((NSUInteger) frequency == NSNotFound)
if ((int) frequency == NSNotFound)
{
if ([o caseInsensitiveCompare: @"BI-WEEKLY"] == NSOrderedSame)
{
@ -222,7 +223,7 @@
[rule setValues: o atIndex: 0 forKey: @"bymonth"];
}
if ((NSUInteger) frequency != NSNotFound)
if ((int) frequency != NSNotFound)
{
[rule setFrequency: frequency];
[self setRecurrenceRules: [NSArray arrayWithObject: rule]];