From 1ca28a4dc71f1d1074910d83991b56d07ab50576 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 26 Sep 2010 21:13:25 +0000 Subject: 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 --- apps/bookmark.c | 2 ++ 1 file changed, 2 insertions(+) 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) sound_set_pitch(bm.pitch); dsp_set_timestretch(bm.speed); #endif + if (!warn_on_pl_erase()) + return false; return bookmark_play(global_temp_buffer, bm.resume_index, bm.resume_offset, bm.resume_seed, global_filename); } -- cgit v1.2.3