Gerald Pfeifer : mshtml/tests: Fix return value of ActiveScript_SetScriptState.
Module: wine Branch: master Commit: 5dac305bab9d29c2f5452e017c1be28821edba0e URL: http://source.winehq.org/git/wine.git/?a=commit;h=5dac305bab9d29c2f5452e017c... Author: Gerald Pfeifer <gerald(a)pfeifer.com> Date: Sun May 2 21:16:06 2010 +0200 mshtml/tests: Fix return value of ActiveScript_SetScriptState. --- dlls/mshtml/tests/script.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/mshtml/tests/script.c b/dlls/mshtml/tests/script.c index 56d83ef..dab2047 100644 --- a/dlls/mshtml/tests/script.c +++ b/dlls/mshtml/tests/script.c @@ -1995,7 +1995,7 @@ static HRESULT WINAPI ActiveScript_SetScriptState(IActiveScript *iface, SCRIPTST } hres = IActiveScriptSite_OnStateChange(site, (state = ss)); - return S_OK; + return hres; } static HRESULT WINAPI ActiveScript_GetScriptState(IActiveScript *iface, SCRIPTSTATE *pssState)
participants (1)
-
Alexandre Julliard