diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-25 20:02:19 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-25 20:02:19 +0000 |
commit | 82f6f5b7a30d7e64c3671797184381cc0ab0138f (patch) | |
tree | 0e41f018bb3308963842bcaecbe59489b8591129 /src | |
parent | 121e2063e07e70242700015a446586a84699dcfa (diff) | |
download | mpd-82f6f5b7a30d7e64c3671797184381cc0ab0138f.tar.gz mpd-82f6f5b7a30d7e64c3671797184381cc0ab0138f.tar.xz mpd-82f6f5b7a30d7e64c3671797184381cc0ab0138f.zip |
clear playlist.current on clearPlaylist()
git-svn-id: https://svn.musicpd.org/mpd/trunk@1163 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c index 61679530a..412ddce19 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -163,6 +163,7 @@ int clearPlaylist(FILE * fp) { playlist.songs[i] = NULL; } playlist.length = 0; + playlist.current = -1; incrPlaylistVersion(); |