1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jonathan Gordon 2009-12-18 05:53:29 +00:00
parent 069bafe215
commit 74d1c31baf

View file

@ -317,6 +317,8 @@ MAKE_ONPLAYMENU( wps_playlist_menu, ID2P(LANG_PLAYLIST),
/* CONTEXT_[TREE|ID3DB] playlist options */ /* CONTEXT_[TREE|ID3DB] playlist options */
static int playlist_insert_func(void *param) 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); add_to_playlist((intptr_t)param, false);
return 0; return 0;
} }