diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-09-26 21:13:25 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-09-26 21:13:25 +0000 |
commit | 1ca28a4dc71f1d1074910d83991b56d07ab50576 (patch) | |
tree | 23fd6f9e755a6511efa07a96d01a932219043ea2 | |
parent | dcc0d7dfdc88778169c542ec714094b068d8ff70 (diff) | |
download | rockbox-1ca28a4dc71f1d1074910d83991b56d07ab50576.tar.gz rockbox-1ca28a4dc71f1d1074910d83991b56d07ab50576.zip |
Warn about erasing dynamic playlist when loading bookmark - FS #10482 by Tuomas Airaksinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28176 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/bookmark.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index efc43c6270..8de06999f4 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -927,6 +927,8 @@ static bool play_bookmark(const char* bookmark) | |||
927 | sound_set_pitch(bm.pitch); | 927 | sound_set_pitch(bm.pitch); |
928 | dsp_set_timestretch(bm.speed); | 928 | dsp_set_timestretch(bm.speed); |
929 | #endif | 929 | #endif |
930 | if (!warn_on_pl_erase()) | ||
931 | return false; | ||
930 | return bookmark_play(global_temp_buffer, bm.resume_index, | 932 | return bookmark_play(global_temp_buffer, bm.resume_index, |
931 | bm.resume_offset, bm.resume_seed, global_filename); | 933 | bm.resume_offset, bm.resume_seed, global_filename); |
932 | } | 934 | } |