summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-10-29 08:19:23 +0000
committerlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-10-29 08:19:23 +0000
commit66b25b69a6c946f9132242c655bd9e42577b92d2 (patch)
tree37b93423317720ed719b42f5ff336567efcac48c
parent22a0df57ec45522eb109d6458c151fb077578d47 (diff)
downloadvdr-plugin-muggle-66b25b69a6c946f9132242c655bd9e42577b92d2.tar.gz
vdr-plugin-muggle-66b25b69a6c946f9132242c655bd9e42577b92d2.tar.bz2
Allow to delete first entry of playlist
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@262 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r--mg_playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg_playlist.c b/mg_playlist.c
index b4bc487..5ead8f7 100644
--- a/mg_playlist.c
+++ b/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 );