1
0
Fork 0
forked from len0rd/rockbox

Fix auto dir change happening one track too early (another followup of r16425).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16430 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2008-02-26 20:29:52 +00:00
parent 3e4d79eaf5
commit 3987166a0a

View file

@ -1988,7 +1988,7 @@ static int audio_check_new_track(void)
if (new_playlist)
ci.new_track = 0;
end_of_playlist = playlist_peek(ci.new_track) == NULL;
end_of_playlist = playlist_peek(automatic_skip ? ci.new_track : 0) == NULL;
auto_dir_skip = end_of_playlist && global_settings.next_folder;
/* If the playlist isn't that big */