Avoid a magic number.
diff --git a/dlls/version/install.c b/dlls/version/install.c index d9ae145..4343c67 100644 --- a/dlls/version/install.c +++ b/dlls/version/install.c
@@ -490,7 +490,7 @@ xret|=VIF_TEMPFILE; } } else { - if (-1!=GetFileAttributesA(destfn)) + if (INVALID_FILE_ATTRIBUTES!=GetFileAttributesA(destfn)) if (!DeleteFileA(destfn)) { xret|=_error2vif(GetLastError())|VIF_CANNOTDELETE; DeleteFileA(tmpfn);