diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-18 05:53:29 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-18 05:53:29 +0000 |
commit | 74d1c31baf78b117026a6ebb25dabf5d264bb32d (patch) | |
tree | 7bfcb3bcfc7dc787051160a8a688f4062f47193d /apps/onplay.c | |
parent | 069bafe2152614a7d6e5343d805ac7ac4ffbd5ed (diff) |
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
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 2 |
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), /* 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; } |