1
0
Fork 0
forked from len0rd/rockbox

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

@ -510,7 +510,7 @@ int copy_move_fileobject(const char *src_path, const char *dst_path, unsigned in
int rc;
if (file_exists(dst.path)) {
/* If user chooses not to overwrite, cancel */
if (confirm_overwrite_yesno() == YESNO_NO) {
if (!yesno_pop(ID2P(LANG_REALLY_OVERWRITE))) {
return FORC_NOOVERWRT;
}