mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
jscript: Fixed test crash on some win9x installations.
This commit is contained in:
parent
f824a1656d
commit
636bc7494f
@ -335,7 +335,10 @@ static HRESULT set_script_prop(IActiveScript *engine, DWORD property, VARIANT *v
|
||||
|
||||
hres = IActiveScript_QueryInterface(engine, &IID_IActiveScriptProperty,
|
||||
(void**)&script_prop);
|
||||
ok(hres == S_OK, "Could not get IActiveScriptProperty iface: %08x\n", hres);
|
||||
if(FAILED(hres)) {
|
||||
win_skip("IActiveScriptProperty not supported\n");
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
hres = IActiveScriptProperty_SetProperty(script_prop, property, NULL, val);
|
||||
IActiveScriptProperty_Release(script_prop);
|
||||
|
Loading…
Reference in New Issue
Block a user