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.tar.gz rockbox-1386034044bafc618398be205dbab66e38582643.zip |
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 3c9aa1958f..47bf6a9c88 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -2250,10 +2250,9 @@ int playlist_resume(void) | |||
2250 | randomise_playlist(playlist, global_settings.resume_seed, | 2250 | randomise_playlist(playlist, global_settings.resume_seed, |
2251 | false, true); | 2251 | false, true); |
2252 | } | 2252 | } |
2253 | |||
2254 | playlist->first_index = global_settings.resume_first_index; | ||
2255 | } | 2253 | } |
2256 | 2254 | ||
2255 | playlist->first_index = global_settings.resume_first_index; | ||
2257 | break; | 2256 | break; |
2258 | } | 2257 | } |
2259 | } | 2258 | } |