From: Pierre d'Herbemont Date: Mon, 5 Mar 2007 17:34:31 +0000 (+0000) Subject: Mac OS X gui: Revert [19198] (add items to the playlist in the finder's order). The... X-Git-Tag: 0.9.0-test0~8241 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4559ca170841ea3ab9c6173337698e370c6ef405;p=vlc Mac OS X gui: Revert [19198] (add items to the playlist in the finder's order). The finder provides elements that may be shuffled. --- diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m index c9027e92bb..f9176885b0 100644 --- a/modules/gui/macosx/playlist.m +++ b/modules/gui/macosx/playlist.m @@ -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++) {