mshtml: Test return value of OnStateChange.

This commit is contained in:
Jacek Caban 2010-05-08 18:34:03 +02:00 committed by Alexandre Julliard
parent 11484a0f68
commit f279b0cd4d
1 changed files with 3 additions and 1 deletions

View File

@ -2073,7 +2073,9 @@ static HRESULT WINAPI ActiveScript_SetScriptState(IActiveScript *iface, SCRIPTST
} }
hres = IActiveScriptSite_OnStateChange(site, (state = ss)); hres = IActiveScriptSite_OnStateChange(site, (state = ss));
return hres; ok(hres == S_OK, "OnStateChange failed: %08x\n", hres);
return S_OK;
} }
static HRESULT WINAPI ActiveScript_GetScriptState(IActiveScript *iface, SCRIPTSTATE *pssState) static HRESULT WINAPI ActiveScript_GetScriptState(IActiveScript *iface, SCRIPTSTATE *pssState)