summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2005-06-29 17:10:00 +0000
committerHardeep Sidhu <dyp@pobox.com>2005-06-29 17:10:00 +0000
commitdb7209616bdd0acc7cdf46a3aa9165d8268a0fbc (patch)
treed6ed07e91fa9062c94f6ffbf76c4756c8fc5d803
parentde3b04ee28ecf83a187abb6864387f039dfabcec (diff)
Always update resume info on track change. Fixes resume for codecs that don't update offset (eg. ogg).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6923 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 40c9194793..dc9dd045a2 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -252,7 +252,7 @@ static bool update(void)
/* save resume data */
if ( id3 &&
- global_settings.resume_offset != id3->offset ) {
+ (global_settings.resume_offset != id3->offset || track_changed)) {
if (!playlist_get_resume_info(&global_settings.resume_index))
{