Skip to content
Permalink
Browse files

Fix a silly logic error (#2344)

  • Loading branch information...
dmoagx committed Dec 3, 2015
1 parent 7d4ec97 commit 8ad55ac0c2121c9c2b5061d208a2063299b9b4cb
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/SPGotoDatabaseController.m
@@ -303,7 +303,7 @@ - (void)_buildFilterList:(NSString *)filter didFindExactMatch:(BOOL *)exactMatch
NSUInteger mgc2 = [[(SPGotoFilteredItem *)obj2 matches] count];
if(mgc1 < mgc2)
return NSOrderedAscending;
if(mgc2 > mgc1)
if(mgc2 < mgc1)
return NSOrderedDescending;
}
// For strings with the same number of match groups we just sort alphabetically

0 comments on commit 8ad55ac

Please sign in to comment.
You can’t perform that action at this time.