Now clears the resume point at end-of-list. This fixes bug #627344.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2756 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-10-28 09:44:24 +00:00
parent 1a2712072b
commit c225790e26

View file

@ -406,13 +406,15 @@ static bool ffwd_rew(int button)
static bool update(void)
{
bool track_changed = mpeg_has_changed_track();
bool retcode = false;
if (track_changed)
{
lcd_stop_scroll();
id3 = mpeg_current_track();
if (wps_display(id3))
return true;
retcode = true;
else
wps_refresh(id3,0,true);
}
@ -437,7 +439,7 @@ static bool update(void)
settings_save();
}
return false;
return retcode;
}