diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-29 22:48:54 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-29 22:48:54 +0000 |
| commit | a4d6ad77c4cd5929abee737a86f2e1d7f20ca0d7 (patch) | |
| tree | 33e6675585644f3884a4c07d85e987536fa3143f /apps | |
| parent | 7f5ce80932ad33b5a87dea6c52314fd6480db19f (diff) | |
| download | rockbox-a4d6ad77c4cd5929abee737a86f2e1d7f20ca0d7.zip rockbox-a4d6ad77c4cd5929abee737a86f2e1d7f20ca0d7.tar.gz rockbox-a4d6ad77c4cd5929abee737a86f2e1d7f20ca0d7.tar.bz2 rockbox-a4d6ad77c4cd5929abee737a86f2e1d7f20ca0d7.tar.xz | |
Now the playlist isn't sorted/randomized if no music is playing (fixes the F2-shuffle bug reported by Henry Tremolo)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3707 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/screens.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/screens.c b/apps/screens.c index 98ac865..d12a93a 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -337,10 +337,13 @@ bool f2_screen(void) global_settings.playlist_shuffle = !global_settings.playlist_shuffle; - if (global_settings.playlist_shuffle) - randomise_playlist(current_tick); - else - sort_playlist(true); + if(mpeg_status() & MPEG_STATUS_PLAY) + { + if (global_settings.playlist_shuffle) + randomise_playlist(current_tick); + else + sort_playlist(true); + } used = true; break; |