Fix not being able to skip to the last track in a playlist.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16426 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2008-02-26 17:55:18 +00:00
parent b834e25d71
commit a36dbaa2c4

View file

@ -1992,7 +1992,7 @@ static int audio_check_new_track(void)
auto_dir_skip = end_of_playlist && global_settings.next_folder;
/* If the playlist isn't that big */
if (!playlist_check(ci.new_track))
if (automatic_skip && !playlist_check(ci.new_track))
{
if (ci.new_track >= 0)
{