summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2006-05-30 23:52:58 +0000
committerHardeep Sidhu <dyp@pobox.com>2006-05-30 23:52:58 +0000
commit1386034044bafc618398be205dbab66e38582643 (patch)
tree34665ab1e69138914482f59af7064e69317c2593 /apps
parent5127cfad1d997863fa7e8f490c89293b4d0119e7 (diff)
downloadrockbox-1386034044bafc618398be205dbab66e38582643.tar.gz
rockbox-1386034044bafc618398be205dbab66e38582643.tar.bz2
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
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist.c3
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)
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;
}
}