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:
Warren Dukes 2004-05-25 20:02:19 +00:00
parent 121e2063e0
commit 82f6f5b7a3

View File

@ -163,6 +163,7 @@ int clearPlaylist(FILE * fp) {
playlist.songs[i] = NULL;
}
playlist.length = 0;
playlist.current = -1;
incrPlaylistVersion();