mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 979007 - When attempting to read and write 'supported' associated registry value in nsWinMetroUtils, use the right access mask. r=tabraldes
This commit is contained in:
parent
137a5a0322
commit
e06043252f
@ -378,7 +378,7 @@ nsWinMetroUtils::GetSupported(bool *aSupported)
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
rv = regKey->Open(nsIWindowsRegKey::ROOT_KEY_CURRENT_USER,
|
||||
metroRegValuePath,
|
||||
nsIWindowsRegKey::ACCESS_WRITE);
|
||||
nsIWindowsRegKey::ACCESS_ALL);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
rv = regKey->ReadIntValue(metroRegValueName, &value);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
|
Loading…
Reference in New Issue
Block a user