From f824de5e35575d14348515b2da08321d8bc0c8c8 Mon Sep 17 00:00:00 2001 From: lvw Date: Fri, 29 Oct 2004 08:19:23 +0000 Subject: Allow to delete first entry of playlist git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@262 e10066b5-e1e2-0310-b819-94efdf66514b --- muggle-plugin/mg_playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muggle-plugin/mg_playlist.c b/muggle-plugin/mg_playlist.c index b4bc487..5ead8f7 100644 --- a/muggle-plugin/mg_playlist.c +++ b/muggle-plugin/mg_playlist.c @@ -140,7 +140,7 @@ bool mgPlaylist::remove( unsigned pos ) { bool result = false; - if( pos > 0 && pos != m_current_idx ) + if( pos != m_current_idx ) { result = mgTracklist::remove( pos ); -- cgit v1.2.3