MacOSX/Framework/VLCMediaListAspect.m: Fix a typo.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 23 Nov 2007 20:21:53 +0000 (20:21 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 23 Nov 2007 20:21:53 +0000 (20:21 +0000)
extras/MacOSX/Framework/Sources/VLCMediaListAspect.m

index ec29917..dc7d298 100644 (file)
@@ -110,7 +110,7 @@ static void HandleMediaListViewItemDeleted( const libvlc_event_t * event, void *
         libvlc_media_list_view_retain(p_mlv);
         //libvlc_media_list_lock(p_mlist);
         cachedMedia = [[NSMutableArray alloc] initWithCapacity:libvlc_media_list_view_count(p_mlv, NULL)];
-        int i, count = libvlc_media_list_count(p_mlv, NULL);
+        int i, count = libvlc_media_list_view_count(p_mlv, NULL);
         for( i = 0; i < count; i++ )
         {
             libvlc_media_descriptor_t * p_md = libvlc_media_list_view_item_at_index(p_mlv, i, NULL);