Mercurial > mplayer.hg
changeset 35573:af20559e55c9
Adapt assignments.
This better matches the if branch.
author | ib |
---|---|
date | Tue, 11 Dec 2012 14:52:33 +0000 |
parents | 0827fa4c3401 |
children | 715e7aa1ffdb |
files | gui/dialog/playlist.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/dialog/playlist.c Tue Dec 11 14:51:17 2012 +0000 +++ b/gui/dialog/playlist.c Tue Dec 11 14:52:33 2012 +0000 @@ -202,7 +202,11 @@ curr.path = gstrdup(item->path); curr.name = gstrdup(item->name); } - else curr.path = curr.name = NULL; + else + { + curr.path = NULL; + curr.name = NULL; + } listMgr( PLAYLIST_DELETE,0 ); for ( i=0;i<NrOfSelected;i++ ) {