mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-19 22:35:19 +00:00
Fix for bug #2106
This commit is contained in:
1 parent
378eef4082
commit
77e4b3307f
5 files changed
+16
-11
No files matched your search
@@ -424,16 +424,19 @@
|
||||
}
|
||||
|
||||
static inline BOOL
|
||||
_subValuesAreVoid (NSArray *subValues)
|
||||
_subValuesAreVoid (id subValues)
|
||||
{
|
||||
BOOL result = YES;
|
||||
NSUInteger count, max;
|
||||
|
||||
result = YES;
|
||||
|
||||
max = [subValues count];
|
||||
for (count = 0; result && count < max; count++)
|
||||
result = ([[subValues objectAtIndex: count] length] == 0);
|
||||
if ([subValues isKindOfClass: [NSArray class]])
|
||||
{
|
||||
max = [subValues count];
|
||||
for (count = 0; result && count < max; count++)
|
||||
result = ([[subValues objectAtIndex: count] length] == 0);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user