mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 502146 – On WinCE, GRE_GetPathFromRegKey fails even if GRE exists on device. r=blassey
This commit is contained in:
parent
2a1001c588
commit
828209d4e2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user