mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 04:20:33 +00:00
Minor fix for prev. commit
Monotone-Parent: 445116f4d4dc0f02dc0569b5b726887999b51c7f Monotone-Revision: d017ebf132007322a274393ed5361101295ddba5 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-07-31T18:06:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -491,13 +491,16 @@ static BOOL defaultShowSubscribedFoldersOnly = NO;
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
int value = [[defaultList objectAtIndex: i] intValue];
|
||||
tmp = nil;
|
||||
if (value == 1)
|
||||
tmp = @"every_minute";
|
||||
else if (value == 60)
|
||||
tmp = @"once_per_hour";
|
||||
else
|
||||
else if (value == 2 || value == 5 || value == 10
|
||||
|| value == 20 || value == 30)
|
||||
tmp = [NSString stringWithFormat: @"every_%d_minutes", value];
|
||||
[rc addObject: tmp];
|
||||
if (tmp)
|
||||
[rc addObject: tmp];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user