diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2006-05-30 23:52:58 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2006-05-30 23:52:58 +0000 |
| commit | 1386034044bafc618398be205dbab66e38582643 (patch) | |
| tree | 34665ab1e69138914482f59af7064e69317c2593 | |
| parent | 5127cfad1d997863fa7e8f490c89293b4d0119e7 (diff) | |
| download | rockbox-1386034044bafc618398be205dbab66e38582643.zip rockbox-1386034044bafc618398be205dbab66e38582643.tar.gz rockbox-1386034044bafc618398be205dbab66e38582643.tar.bz2 rockbox-1386034044bafc618398be205dbab66e38582643.tar.xz | |
Always set first_index to value stored in settings when resuming. Fixes incorrect index problem when resuming an insert_shuffle'd playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10024 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/playlist.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 3c9aa19..47bf6a9 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -2250,10 +2250,9 @@ int playlist_resume(void) randomise_playlist(playlist, global_settings.resume_seed, false, true); } - - playlist->first_index = global_settings.resume_first_index; } + playlist->first_index = global_settings.resume_first_index; break; } } |