mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Avoid a magic number.
This commit is contained in:
parent
b30d92dfb2
commit
1174e64928
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ DWORD WINAPI VerInstallFileA(
|
|||
xret|=VIF_TEMPFILE;
|
||||
}
|
||||
} else {
|
||||
if (-1!=GetFileAttributesA(destfn))
|
||||
if (INVALID_FILE_ATTRIBUTES!=GetFileAttributesA(destfn))
|
||||
if (!DeleteFileA(destfn)) {
|
||||
xret|=_error2vif(GetLastError())|VIF_CANNOTDELETE;
|
||||
DeleteFileA(tmpfn);
|
||||
|
|
Loading…
Reference in a new issue