]> git.sesse.net Git - vlc/commitdiff
* Use insert instead of append. Does not yet work for inserting into nodes. refs...
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 22 Aug 2005 00:47:34 +0000 (00:47 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 22 Aug 2005 00:47:34 +0000 (00:47 +0000)
modules/gui/macosx/playlist.m

index 3d30ba7f4f436784f1b21ac37ef3aedb8a75a7a3..ee3ac59cc306cd59cde6f5f46f795fd0d59090c8 100644 (file)
@@ -1125,7 +1125,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
         }
 
         /* Add the item */
-        playlist_AddItem( p_playlist, p_item, PLAYLIST_APPEND, i_position == -1 ? PLAYLIST_END : i_position + i_item );
+        playlist_AddItem( p_playlist, p_item, PLAYLIST_INSERT, i_position == -1 ? PLAYLIST_END : i_position + i_item );
 
         if( i_item == 0 && !b_enqueue )
         {
@@ -1159,7 +1159,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
         }
 
         /* Add the item */
-        playlist_NodeAddItem( p_playlist, p_item, i_view, p_node, PLAYLIST_APPEND, i_position + i_item );
+        playlist_NodeAddItem( p_playlist, p_item, i_view, p_node, PLAYLIST_INSERT, i_position + i_item );
 
         if( i_item == 0 && !b_enqueue )
         {