commit | 76f13deb26973a195c45c887d9af2ba9aa9265d1 | [log] [tgz] |
---|---|---|
author | Rolf Kalbermatter <rolf.kalbermatter@citeng.com> | Thu Oct 16 19:12:49 2003 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Oct 16 19:12:49 2003 +0000 |
tree | 947d45a6e2272c15ba91fa583a591ae82b5488a0 | |
parent | c66b7b0037a949be265afc1982f19dc795031297 [diff] [blame] |
Use INVALID_FILE_ATTRIBUTES to test for failure of GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
diff --git a/programs/winhelp/macro.c b/programs/winhelp/macro.c index 8b39fb2..c25d209 100644 --- a/programs/winhelp/macro.c +++ b/programs/winhelp/macro.c
@@ -506,7 +506,7 @@ BOOL MACRO_FileExist(LPCSTR str) { WINE_TRACE("(\"%s\")\n", str); - return GetFileAttributes(str) != 0xFFFFFFFF; + return GetFileAttributes(str) != INVALID_FILE_ATTRIBUTES; } void MACRO_FileOpen(void)