mshtml: avoid shadowing a parameter (2/2)
Austin English
austinenglish at gmail.com
Wed Mar 9 03:07:51 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index d0d378f..9948a02 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -2141,22 +2141,22 @@ static HRESULT HTMLWindow_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD
switch(prop->type) {
case GLOBAL_SCRIPTVAR: {
- IDispatchEx *dispex;
+ IDispatchEx *dpex;
IDispatch *disp;
disp = get_script_disp(prop->script_host);
if(!disp)
return E_UNEXPECTED;
- hres = IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&dispex);
+ hres = IDispatch_QueryInterface(disp, &IID_IDispatchEx, (void**)&dpex);
if(SUCCEEDED(hres)) {
TRACE("%s >>>\n", debugstr_w(prop->name));
- hres = IDispatchEx_InvokeEx(dispex, prop->id, lcid, flags, params, res, ei, caller);
+ hres = IDispatchEx_InvokeEx(dpex, prop->id, lcid, flags, params, res, ei, caller);
if(hres == S_OK)
TRACE("%s <<<\n", debugstr_w(prop->name));
else
WARN("%s <<< %08x\n", debugstr_w(prop->name), hres);
- IDispatchEx_Release(dispex);
+ IDispatchEx_Release(dpex);
}else {
FIXME("No IDispatchEx\n");
}
More information about the wine-patches
mailing list