mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-17 08:34:27 -04:00
[misc] use UTF-8 compatible _unlinkU() when deleting files
This commit is contained in:
parent
bf09842fd2
commit
fe3004d17f
5 changed files with 20 additions and 11 deletions
|
@ -358,7 +358,7 @@ out:
|
|||
if (fd != NULL) fclose(fd);
|
||||
if (!r) {
|
||||
if (file != NULL)
|
||||
_unlink(file);
|
||||
_unlinkU(file);
|
||||
if (PromptOnError) {
|
||||
PrintInfo(0, MSG_242);
|
||||
SetLastError(error_code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue