mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Fixed remove in Windows.
This commit is contained in:
parent
3358efc24a
commit
4e7957ff73
1 changed files with 1 additions and 1 deletions
2
mingw.c
2
mingw.c
|
|
@ -337,7 +337,7 @@ int windows_rename(const char* a, const char* b)
|
|||
|
||||
int windows_remove(const char* a)
|
||||
{
|
||||
if (!_wremove(u8tou16(a))) {
|
||||
if (_wremove(u8tou16(a)) != 0) {
|
||||
windows_errno(GetLastError());
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue