aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/playlist.c1
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();