]> git.sesse.net Git - vlc/commitdiff
Fix #1899 as far as I can test it (in all cse this change is good).
authorRémi Duraffort <ivoire@videolan.org>
Sun, 24 Aug 2008 12:22:30 +0000 (14:22 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 24 Aug 2008 12:23:47 +0000 (14:23 +0200)
src/playlist/item.c

index eba3006f69bd1a9ba68ee15741f488166b9ca632..d72e41560eb53a78cb5e918314ebb85c62b209ea 100644 (file)
@@ -763,7 +763,7 @@ int playlist_TreeMove( playlist_t * p_playlist, playlist_item_t *p_item,
                                                 p_playlist->p_root_category,
                                                 false );
             if( p_node_category && p_item_category )
-                TreeMove( p_playlist, p_item_category, p_node_category, i_newpos );
+                TreeMove( p_playlist, p_item_category, p_node_category, 0 );
         }
         i_ret = VLC_SUCCESS;
     }