diff options
author | Hardeep Sidhu <dyp@pobox.com> | 2006-05-03 15:54:08 +0000 |
---|---|---|
committer | Hardeep Sidhu <dyp@pobox.com> | 2006-05-03 15:54:08 +0000 |
commit | 7033baea5eee97fd2c0ae7f737a1c7e98f5df225 (patch) | |
tree | 5a6f942124015169514dfb917b7191d807cb3aca | |
parent | f67a942c60642858f57224c826c5d70e6cc03715 (diff) | |
download | rockbox-7033baea5eee97fd2c0ae7f737a1c7e98f5df225.tar.gz rockbox-7033baea5eee97fd2c0ae7f737a1c7e98f5df225.zip |
Only reset resume settings when we're really at the end of the playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9867 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/playback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index 0dc142a42f..dcc0487dc4 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -1817,7 +1817,8 @@ static void audio_stop_playback(void) | |||
1817 | if (playing) | 1817 | if (playing) |
1818 | { | 1818 | { |
1819 | /* Save the current playing spot, or NULL if the playlist has ended */ | 1819 | /* Save the current playing spot, or NULL if the playlist has ended */ |
1820 | playlist_update_resume_info(playlist_end?NULL:audio_current_track()); | 1820 | playlist_update_resume_info( |
1821 | (playlist_end && ci.stop_codec)?NULL:audio_current_track()); | ||
1821 | } | 1822 | } |
1822 | filebufused = 0; | 1823 | filebufused = 0; |
1823 | playing = false; | 1824 | playing = false; |