[vlc-commits] macosx: compilation fix

Felix Paul Kühne git at videolan.org
Mon Jul 20 18:26:51 CEST 2015


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jul 20 14:38:26 2015 +0200| [64cca9e7f70a1a24bcf84494ac6339f27688240d] | committer: Felix Paul Kühne

macosx: compilation fix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64cca9e7f70a1a24bcf84494ac6339f27688240d
---

 modules/gui/macosx/playlist.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index ec6f158..ed6d7a2 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -1017,7 +1017,7 @@
         if (mediaListCount > 30) {
             for (NSUInteger x = 0; x < mediaListCount - 30; x++) {
                 [mutDict removeObjectForKey:[mediaList firstObject]];
-                [mediaList removefirstObject];
+                [mediaList removeObjectAtIndex:0];
             }
         }
     } else {



More information about the vlc-commits mailing list