mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 14:43:31 +00:00
propagate from branch 'ca.inverse.sogo.1_3_1' (head f6a0b62965278336b461dac36045bfae5fc07f0a)
to branch 'ca.inverse.sogo' (head aa0663eb86f38080e2ab2d20b64f30547adbfa81) Monotone-Parent: aa0663eb86f38080e2ab2d20b64f30547adbfa81 Monotone-Parent: f6a0b62965278336b461dac36045bfae5fc07f0a Monotone-Revision: 0176ffcc344892f0535563789b246aea9810ee5e Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-08-12T18:23:23 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -51,7 +51,7 @@ static NSString *commaSeparator = nil;
|
||||
foldedString = [NSMutableString string];
|
||||
|
||||
length = [self length];
|
||||
if (length < 76)
|
||||
if (length < 77)
|
||||
[foldedString appendString: self];
|
||||
else
|
||||
{
|
||||
@@ -59,7 +59,7 @@ static NSString *commaSeparator = nil;
|
||||
[foldedString appendFormat: @"%@\r\n",
|
||||
[self substringWithRange: subStringRange]];
|
||||
subStringRange = NSMakeRange (75, 74);
|
||||
while ((length - subStringRange.location) > 74)
|
||||
while ((length - subStringRange.location) > 75)
|
||||
{
|
||||
[foldedString appendFormat: @" %@\r\n",
|
||||
[self substringWithRange: subStringRange]];
|
||||
|
||||
@@ -383,7 +383,10 @@ NSString *iCalWeekDayString[] = { @"SU", @"MO", @"TU", @"WE", @"TH", @"FR",
|
||||
|
||||
- (void) setInterval: (NSString *) _interval
|
||||
{
|
||||
[self setNamedValue: @"interval" to: _interval];
|
||||
if (_interval && [_interval intValue] == 1)
|
||||
[self setNamedValue: @"interval" to: nil];
|
||||
else
|
||||
[self setNamedValue: @"interval" to: _interval];
|
||||
}
|
||||
|
||||
- (void) setCount: (NSString *) _count
|
||||
|
||||
Reference in New Issue
Block a user