diff options
-rw-r--r-- | src/playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c index 8a7b5cf7f..ad81e1cb6 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -1147,7 +1147,7 @@ static void randomizeOrder(int start, int end) void setPlaylistRandomStatus(int status) { if (status != playlist.random) { - if (playlist.random) + if ((playlist.random = status)) randomizeOrder(0, playlist.length - 1); else orderPlaylist(); |