mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
See ChangeLogs.
Monotone-Parent: 4ada003303186187c511ea7faea08604da6b3db4 Monotone-Revision: 1e456d9a08ec90bd4e7fad4909eecfaa354aed5a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-08T15:48:55 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -232,9 +232,14 @@
|
||||
{
|
||||
comparison = [self _compareByNameInContainer: otherFolder];
|
||||
if (comparison == NSOrderedSame)
|
||||
comparison
|
||||
= [[self displayName]
|
||||
localizedCaseInsensitiveCompare: [otherFolder displayName]];
|
||||
if ([self displayName] == nil)
|
||||
comparison = NSOrderedAscending;
|
||||
else if ([otherFolder displayName] == nil)
|
||||
comparison = NSOrderedDescending;
|
||||
else
|
||||
comparison
|
||||
= [[self displayName]
|
||||
localizedCaseInsensitiveCompare: [otherFolder displayName]];
|
||||
}
|
||||
|
||||
return comparison;
|
||||
|
||||
Reference in New Issue
Block a user