diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c index 99d1a1c69..fbb959fed 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -1161,12 +1161,12 @@ void shufflePlaylist(void) if (playlist.length > 1) { if (playlist_state == PLAYLIST_STATE_PLAY) { - if (playlist.queued >= 0) { + if (playlist.queued >= 0) clearPlayerQueue(); + if (playlist.current >= 0) /* put current playing song first */ swapSongs(0, playlist.order[playlist.current]); - } if (playlist.random) { int j; |