mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
misc: Eliminate redundant yes/no dialog functions
Change-Id: I28bc4531cdfe6e28a1677b1a0ebb461e48188fd8
This commit is contained in:
parent
ad4113a7e9
commit
ca459a9d09
5 changed files with 4 additions and 19 deletions
|
@ -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 */
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue