mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
Monotone-Parent: a93dd2767c4f017932c6339f82394fd558ef304f
Monotone-Revision: 7e63e5fdd760a91e91ec6f1759064a5e5c2f267f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-10-23T15:35:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
}
|
||||
|
||||
- (NSArray *) objectsForKey: (NSString *) key
|
||||
notFoundMarker: (id) marker
|
||||
{
|
||||
NSMutableArray *objectsForKey;
|
||||
unsigned int count, max;
|
||||
@@ -96,7 +97,10 @@
|
||||
for (count = 0; count < max; count++)
|
||||
{
|
||||
value = [[self objectAtIndex: count] objectForKey: key];
|
||||
[objectsForKey addObject: value];
|
||||
if (value)
|
||||
[objectsForKey addObject: value];
|
||||
else if (marker)
|
||||
[objectsForKey addObject: marker];
|
||||
}
|
||||
|
||||
return objectsForKey;
|
||||
|
||||
Reference in New Issue
Block a user