Gerald Pfeifer : mshtml/tests: Fix return value of ActiveScript_SetScriptState.
Alexandre Julliard
julliard at winehq.org
Mon May 3 11:54:10 CDT 2010
Module: wine
Branch: master
Commit: 5dac305bab9d29c2f5452e017c1be28821edba0e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5dac305bab9d29c2f5452e017c1be28821edba0e
Author: Gerald Pfeifer <gerald at 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)
More information about the wine-cvs
mailing list