Mercurial > mplayer.hg
changeset 35578:d186ebe43c68
Remove pointless condition.
If there wasn't a curr item (and thus all its members have been
set NULL), PLAYLIST_ITEM_FIND won't find anything anyway.
author | ib |
---|---|
date | Wed, 12 Dec 2012 17:34:50 +0000 |
parents | b356942130df |
children | 6b169870ae30 |
files | gui/dialog/playlist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/playlist.c Wed Dec 12 17:33:01 2012 +0000 +++ b/gui/dialog/playlist.c Wed Dec 12 17:34:50 2012 +0000 @@ -223,7 +223,7 @@ item = listMgr( PLAYLIST_GET,0 ); if ( item ) { - if ( guiInfo.Playing && curr.name ) + if ( guiInfo.Playing ) { old = listMgr( PLAYLIST_ITEM_FIND,&curr ); if ( old )