aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-08 20:12:10 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-08 20:12:10 +0000
commit4959c30678f374f265d364daa9580e2b89fd17ff (patch)
treee164ecc8d6fc07798d89577311b8ea6714e52496 /src
parent62df71cf3639cee80985cb47c60de3e20a5a5632 (diff)
downloadmpd-4959c30678f374f265d364daa9580e2b89fd17ff.tar.gz
mpd-4959c30678f374f265d364daa9580e2b89fd17ff.tar.xz
mpd-4959c30678f374f265d364daa9580e2b89fd17ff.zip
make enabling random always randomize the entire playlist
git-svn-id: https://svn.musicpd.org/mpd/trunk@1400 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/playlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 21ac024f6..911291ff7 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -1041,11 +1041,11 @@ int setPlaylistRandomStatus(FILE * fp, int status) {
if(status!=statusWas) {
if(playlist.random) {
- if(playlist_state==PLAYLIST_STATE_PLAY) {
+ /*if(playlist_state==PLAYLIST_STATE_PLAY) {
randomizeOrder(playlist.current+1,
playlist.length-1);
}
- else randomizeOrder(0,playlist.length-1);
+ else */randomizeOrder(0,playlist.length-1);
}
else orderPlaylist();
}