Commit 82f6f5b7 authored by Warren Dukes's avatar Warren Dukes

clear playlist.current on clearPlaylist()

git-svn-id: https://svn.musicpd.org/mpd/trunk@1163 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 121e2063
...@@ -163,6 +163,7 @@ int clearPlaylist(FILE * fp) { ...@@ -163,6 +163,7 @@ int clearPlaylist(FILE * fp) {
playlist.songs[i] = NULL; playlist.songs[i] = NULL;
} }
playlist.length = 0; playlist.length = 0;
playlist.current = -1;
incrPlaylistVersion(); incrPlaylistVersion();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment