mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
(Windows) Fixed an issue where directory deletions would be incorrectly reported as failed.
This commit is contained in:
parent
392627f1fe
commit
4305c211eb
|
@ -684,7 +684,7 @@ namespace Utils
|
|||
return false;
|
||||
}
|
||||
#if defined(_WIN64)
|
||||
if (_wrmdir(Utils::String::stringToWideString(path).c_str()) == 0) {
|
||||
if (_wrmdir(Utils::String::stringToWideString(path).c_str()) != 0) {
|
||||
#else
|
||||
if (rmdir(path.c_str()) != 0) {
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue