forked from len0rd/rockbox
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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue