summaryrefslogtreecommitdiff
path: root/src/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist.c')
-rw-r--r--src/playlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 1e8ab890f..3da74754a 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -1156,6 +1156,7 @@ int setPlaylistRandomStatus(FILE * fp, int status) {
playlist.current < playlist.length)
{
swapOrder(playlist.current, 0);
+ playlist.current = 0;
}
}
else orderPlaylist();