Bug 502146 – On WinCE, GRE_GetPathFromRegKey fails even if GRE exists on device. r=blassey

This commit is contained in:
Hiroyuki Ikezoe 2009-08-08 12:29:13 +09:00
parent 2a1001c588
commit 828209d4e2

View File

@ -814,7 +814,7 @@ GRE_GetPathFromRegKey(HKEY aRegKey,
}
else if (!wcsncat(buffer, L"\\" LXPCOM_DLL, aBufLen)
#ifdef WINCE
|| (GetFileAttributesW(buffer) != INVALID_FILE_ATTRIBUTES)
|| (GetFileAttributesW(buffer) == INVALID_FILE_ATTRIBUTES)
#else
|| _waccess(buffer, R_OK)
#endif