summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-09-18 10:13:09 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-09-18 10:13:09 +0000
commit25316c5417087185a0b93f7e095a8cbedc5be110 (patch)
tree5b8ffe425d3db6a121c714751b35c0513ce2c7c7 /apps/playlist.c
parent78ea93d8698fb240c02b0d430966452a3d1ff3c9 (diff)
Added play_selected option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2323 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index b73aaa85c7..76ce81b51a 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -253,7 +253,7 @@ int play_list(char *dir, /* "current directory" */
/* now shuffle around the indices */
randomise_playlist( random_seed );
- if(!shuffled_index) {
+ if(!shuffled_index && global_settings.play_selected) {
/* The given index was for the unshuffled list, so we need
to figure out the index AFTER the shuffle has been made.
We scan for the seek position we remmber from before. */