forked from organicmaps/organicmaps
[drape, ios] correct touch comparator
This commit is contained in:
parent
94782eee71
commit
fed6d45081
1 changed files with 6 additions and 1 deletions
|
@ -832,7 +832,12 @@ typedef NS_ENUM(NSUInteger, UserTouchesAction)
|
|||
|
||||
NSInteger compareAddress(id l, id r, void * context)
|
||||
{
|
||||
return l < r;
|
||||
if (l < r)
|
||||
return NSOrderedAscending;
|
||||
if (l > r)
|
||||
return NSOrderedDescending;
|
||||
|
||||
return NSOrderedSame;
|
||||
}
|
||||
|
||||
- (void)invalidate
|
||||
|
|
Loading…
Add table
Reference in a new issue