summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-12-18 05:53:29 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-12-18 05:53:29 +0000
commit74d1c31baf78b117026a6ebb25dabf5d264bb32d (patch)
tree7bfcb3bcfc7dc787051160a8a688f4062f47193d
parent069bafe2152614a7d6e5343d805ac7ac4ffbd5ed (diff)
downloadrockbox-74d1c31baf78b117026a6ebb25dabf5d264bb32d.tar.gz
rockbox-74d1c31baf78b117026a6ebb25dabf5d264bb32d.zip
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
-rw-r--r--apps/onplay.c2
1 files changed, 2 insertions, 0 deletions
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),
317/* CONTEXT_[TREE|ID3DB] playlist options */ 317/* CONTEXT_[TREE|ID3DB] playlist options */
318static int playlist_insert_func(void *param) 318static int playlist_insert_func(void *param)
319{ 319{
320 if (((intptr_t)param == PLAYLIST_REPLACE) && !warn_on_pl_erase())
321 return 0;
320 add_to_playlist((intptr_t)param, false); 322 add_to_playlist((intptr_t)param, false);
321 return 0; 323 return 0;
322} 324}