jscript/tests: Check the correct return value.

This commit is contained in:
Michael Stefaniuc 2012-05-21 10:02:02 +02:00 committed by Alexandre Julliard
parent a4f79c347e
commit 8f4512f763
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ static IDispatchEx *get_script_dispatch(IActiveScript *script)
hres = IActiveScript_GetScriptDispatch(script, NULL, &disp);
ok(hres == S_OK, "GetScriptDispatch failed: %08x\n", hres);
IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&dispex);
hres = IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&dispex);
IDispatch_Release(disp);
ok(hres == S_OK, "Could not get IDispatch iface: %08x\n", hres);
return dispex;