]> git.sesse.net Git - vlc/commitdiff
Mac OS X gui: Revert [19198] (add items to the playlist in the finder's order). The...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 5 Mar 2007 17:34:31 +0000 (17:34 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 5 Mar 2007 17:34:31 +0000 (17:34 +0000)
modules/gui/macosx/playlist.m

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