summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playlist_catalog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index f91f8c07bb..0cf9d2e09d 100644
--- a/apps/playlist_catalog.c
+++ b/apps/playlist_catalog.c
@@ -420,10 +420,10 @@ bool catalog_pick_new_playlist_name(char *pl_name, size_t buf_size,
420 apply_playlist_extension(pl_name, buf_size); 420 apply_playlist_extension(pl_name, buf_size);
421 421
422 /* warn before overwriting existing (different) playlist */ 422 /* warn before overwriting existing (different) playlist */
423 if ((!curr_pl_name || strcmp(curr_pl_name, pl_name)) && 423 if (!curr_pl_name || strcmp(curr_pl_name, pl_name))
424 file_exists(pl_name))
425 { 424 {
426 do_save = confirm_overwrite_yesno() == YESNO_YES; 425 if (file_exists(pl_name))
426 do_save = confirm_overwrite_yesno() == YESNO_YES;
427 427
428 if (do_save) /* delete bookmark file unrelated to new playlist */ 428 if (do_save) /* delete bookmark file unrelated to new playlist */
429 { 429 {