mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-02 12:02:45 +00:00
Monotone-Parent: 1ade254d62fcb6133186bc9896363a6fa7dc5f90
Monotone-Revision: 006f65029068e73f339a0342b4050f3ccee0b122 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-11T21:59:31 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -179,7 +179,8 @@ static NSArray *headers = nil;
|
||||
- (NSArray *) addressLists
|
||||
{
|
||||
NSMutableArray *ma;
|
||||
|
||||
NSArray *tmp;
|
||||
|
||||
ma = [NSMutableArray arrayWithCapacity:3];
|
||||
if ([to isNotNull] && [to count] > 0)
|
||||
[ma addObject: to];
|
||||
@@ -191,9 +192,9 @@ static NSArray *headers = nil;
|
||||
/* ensure that at least one object is available */
|
||||
if ([ma count] == 0)
|
||||
{
|
||||
NSArray *tmp = [NSArray arrayWithObject:@""];
|
||||
tmp = [NSArray arrayWithObject: @""];
|
||||
ASSIGN (to, tmp);
|
||||
[ma addObject:to];
|
||||
[ma addObject: to];
|
||||
}
|
||||
|
||||
return ma;
|
||||
|
||||
Reference in New Issue
Block a user