summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-22 19:41:09 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-22 19:41:09 +0200
commit21a883ee3ae68f05624922320b2f762ddb9bd7b7 (patch)
tree00228aa26ee8414ad656282a2f12ebc7f9da19e7
parent6d513dd233f1d5a93e10f8205e417d60a3f9194f (diff)
unbreak shuffle
-rw-r--r--playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/playlist.c b/playlist.c
index fe0414df..f339c7d4 100644
--- a/playlist.c
+++ b/playlist.c
@@ -109,7 +109,7 @@ static playlist_t *addfiles_playlist; // current playlist for adding files/folde
void
pl_set_order (int order) {
- if (pl_order != order && (pl_order == PLAYBACK_ORDER_SHUFFLE_TRACKS || pl_order == PLAYBACK_ORDER_SHUFFLE_ALBUMS)) {
+ if (pl_order != order || pl_order == PLAYBACK_ORDER_SHUFFLE_TRACKS || pl_order == PLAYBACK_ORDER_SHUFFLE_ALBUMS) {
pl_order = order;
for (playlist_t *plt = playlists_head; plt; plt = plt->next) {
plt_reshuffle (plt, NULL, NULL);