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:
@@ -163,6 +163,7 @@ int clearPlaylist(FILE * fp) {
|
||||
playlist.songs[i] = NULL;
|
||||
}
|
||||
playlist.length = 0;
|
||||
playlist.current = -1;
|
||||
|
||||
incrPlaylistVersion();
|
||||
|
||||
|
Reference in New Issue
Block a user