urlmon/tests: Fix a test by using a better default registry key.
This commit is contained in:
parent
697a64595a
commit
7c8d07bc10
|
@ -851,7 +851,10 @@ static void test_url_action(IInternetSecurityManager *secmgr, IInternetZoneManag
|
||||||
HKEY hkey;
|
HKEY hkey;
|
||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
|
|
||||||
res = RegOpenKeyA(HKEY_LOCAL_MACHINE,
|
/* FIXME: HKEY_CURRENT_USER is most of the time the default but this can be changed on a system.
|
||||||
|
* The test should be changed to cope with that, if need be.
|
||||||
|
*/
|
||||||
|
res = RegOpenKeyA(HKEY_CURRENT_USER,
|
||||||
"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3", &hkey);
|
"Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3", &hkey);
|
||||||
if(res != ERROR_SUCCESS) {
|
if(res != ERROR_SUCCESS) {
|
||||||
ok(0, "Could not open zone key\n");
|
ok(0, "Could not open zone key\n");
|
||||||
|
|
Loading…
Reference in New Issue