summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index f8233da92c..8f2c3c4f4a 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -567,8 +567,8 @@ static bool view_playlist(void)
567static int playlist_insert_func(void *param) 567static int playlist_insert_func(void *param)
568{ 568{
569 if (((intptr_t)param == PLAYLIST_REPLACE || 569 if (((intptr_t)param == PLAYLIST_REPLACE ||
570 ((intptr_t)param == PLAYLIST_INSERT_SHUFFLED && !(audio_status() & AUDIO_STATUS_PLAY))) && 570 (((intptr_t)param == PLAYLIST_INSERT_SHUFFLED || (intptr_t)param == PLAYLIST_INSERT)
571 !warn_on_pl_erase()) 571 && !(audio_status() & AUDIO_STATUS_PLAY))) && !warn_on_pl_erase())
572 return 0; 572 return 0;
573 add_to_playlist((intptr_t)param, false); 573 add_to_playlist((intptr_t)param, false);
574 return 0; 574 return 0;