From 74d1c31baf78b117026a6ebb25dabf5d264bb32d Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 18 Dec 2009 05:53:29 +0000 Subject: Fix FS#10433 - "Play Next" should use the "warn on playlist change" setting like the rest of the options that erase the playlist git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24064 a1c6a512-1295-4272-9138-f99709370657 --- apps/onplay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/onplay.c b/apps/onplay.c index 47a21a9250..9ba70a353b 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -317,6 +317,8 @@ MAKE_ONPLAYMENU( wps_playlist_menu, ID2P(LANG_PLAYLIST), /* CONTEXT_[TREE|ID3DB] playlist options */ static int playlist_insert_func(void *param) { + if (((intptr_t)param == PLAYLIST_REPLACE) && !warn_on_pl_erase()) + return 0; add_to_playlist((intptr_t)param, false); return 0; } -- cgit v1.2.3