clear playlist.current on clearPlaylist()
git-svn-id: https://svn.musicpd.org/mpd/trunk@1163 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
121e2063e0
commit
82f6f5b7a3
@ -163,6 +163,7 @@ int clearPlaylist(FILE * fp) {
|
||||
playlist.songs[i] = NULL;
|
||||
}
|
||||
playlist.length = 0;
|
||||
playlist.current = -1;
|
||||
|
||||
incrPlaylistVersion();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user