misc: Eliminate redundant yes/no dialog functions

Change-Id: I28bc4531cdfe6e28a1677b1a0ebb461e48188fd8
This commit is contained in:
Christian Soffke 2025-01-09 03:23:54 +01:00
parent ad4113a7e9
commit ca459a9d09
5 changed files with 4 additions and 19 deletions

View file

@ -423,7 +423,7 @@ bool catalog_pick_new_playlist_name(char *pl_name, size_t buf_size,
if (!curr_pl_name || strcmp(curr_pl_name, pl_name))
{
if (file_exists(pl_name))
do_save = confirm_overwrite_yesno() == YESNO_YES;
do_save = yesno_pop(ID2P(LANG_REALLY_OVERWRITE));
if (do_save) /* delete bookmark file unrelated to new playlist */
{