From bc9850b42c9a342120f06566281e53b96ac32bdb Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 29 Jul 2011 13:06:35 +0200 Subject: [PATCH] mshtml: Fixed HTMLHeadElement_QI implementation. --- dlls/mshtml/htmlhead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/htmlhead.c b/dlls/mshtml/htmlhead.c index 51095ee3e0e..69e4edfae8d 100644 --- a/dlls/mshtml/htmlhead.c +++ b/dlls/mshtml/htmlhead.c @@ -295,7 +295,7 @@ static HRESULT HTMLHeadElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv) TRACE("(%p)->(IID_IHTMLHeadElement %p)\n", This, ppv); *ppv = &This->IHTMLHeadElement_iface; }else { - HTMLElement_QI(&This->element.node, riid, ppv); + return HTMLElement_QI(&This->element.node, riid, ppv); } IUnknown_AddRef((IUnknown*)*ppv);