Mac OS X gui: Fix #1090 (add items to the playlist in the finder's order)
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 5 Mar 2007 14:04:41 +0000 (14:04 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 5 Mar 2007 14:04:41 +0000 (14:04 +0000)
modules/gui/macosx/playlist.m

index f917688..c9027e9 100644 (file)
@@ -1598,10 +1598,7 @@ NSLog( @"expandable" );
         playlist_item_t *p_node = [item pointerValue];
 
         NSArray *o_array = [NSArray array];
-        NSArray *o_values = [[o_pasteboard propertyListForType:
-                                        NSFilenamesPboardType]
-                                sortedArrayUsingSelector:
-                                        @selector(caseInsensitiveCompare:)];
+        NSArray *o_values = [o_pasteboard propertyListForType: NSFilenamesPboardType];
 
         for( i = 0; i < (int)[o_values count]; i++)
         {