]> granicus.if.org Git - transmission/commitdiff
cleanup for the removal of the ip sort function
authorMitchell Livingston <livings124@transmissionbt.com>
Fri, 27 Jun 2008 06:08:12 +0000 (06:08 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Fri, 27 Jun 2008 06:08:12 +0000 (06:08 +0000)
macosx/InfoWindowController.m
macosx/PrefsController.m

index 46df46c76279a35fcd4347a13b2a6fdf6a0ec0be..d0fea83c92453278a2ef8542487f3a8fa88bcfc5 100644 (file)
@@ -1592,7 +1592,7 @@ typedef enum
     if (useSecond)
     {
         NSSortDescriptor * secondDescriptor = [[NSSortDescriptor alloc] initWithKey: @"IP" ascending: asc
-                                                                        selector: @selector(compareFinder:)];
+                                                                        selector: @selector(compareNumeric:)];
         [descriptors addObject: secondDescriptor];
         [secondDescriptor release];
     }
index cd3a3a8c2b66cac52c35d2a650d205ac6a3621e5..fbaaa19a74d22a262baa72ab06d5d0ad01069b86 100644 (file)
                                         [oldDict objectForKey: @"Allow"], @"Allow", nil];
             [fRPCAccessArray replaceObjectAtIndex: row withObject: newDict];
             
-            NSSortDescriptor * descriptor = [[[NSSortDescriptor alloc] initWithKey: @"IP" ascending: YES selector: @selector(compareIP:)]
-                                                autorelease];
+            NSSortDescriptor * descriptor = [[[NSSortDescriptor alloc] initWithKey: @"IP" ascending: YES
+                                                selector: @selector(compareNumeric:)] autorelease];
             [fRPCAccessArray sortUsingDescriptors: [NSArray arrayWithObject: descriptor]];
         }
         else