diff options
author | Hardeep Sidhu <dyp@pobox.com> | 2006-05-03 16:33:23 +0000 |
---|---|---|
committer | Hardeep Sidhu <dyp@pobox.com> | 2006-05-03 16:33:23 +0000 |
commit | 6a267a8be76b3360a6c246b745eecc844f0497e0 (patch) | |
tree | 56f025c72cf87697a89bab5304030f7d32d79af3 | |
parent | 7033baea5eee97fd2c0ae7f737a1c7e98f5df225 (diff) |
Don't initiate track change if at end of playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9868 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/playback.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c index dcc0487dc4..80760dfe85 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -2125,8 +2125,11 @@ static void audio_new_playlist(void) static void initiate_track_change(long direction) { - playlist_end = false; - ci.new_track += direction; + if (playlist_check(direction)) + { + playlist_end = false; + ci.new_track += direction; + } } static void initiate_dir_change(long direction) |