mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
comparing with the numeric option works for sorting IP address properly, so let it do the heavy lifting for us
This commit is contained in:
@@ -1592,7 +1592,7 @@ typedef enum
|
||||
if (useSecond)
|
||||
{
|
||||
NSSortDescriptor * secondDescriptor = [[NSSortDescriptor alloc] initWithKey: @"IP" ascending: asc
|
||||
selector: @selector(compareIP:)];
|
||||
selector: @selector(compareFinder:)];
|
||||
[descriptors addObject: secondDescriptor];
|
||||
[secondDescriptor release];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user