Jacek Caban : mshtml: Better stub for IHTMLElement:: setAttribute with NULL nselem.
Module: wine Branch: master Commit: 591bab3726228119e1b6eb8e789edf8df8671611 URL: http://source.winehq.org/git/wine.git/?a=commit;h=591bab3726228119e1b6eb8e78... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Wed Jun 18 17:08:14 2008 -0500 mshtml: Better stub for IHTMLElement::setAttribute with NULL nselem. --- dlls/mshtml/htmlelem.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c index 4ad3c73..8a3d3bc 100644 --- a/dlls/mshtml/htmlelem.c +++ b/dlls/mshtml/htmlelem.c @@ -194,7 +194,8 @@ static HRESULT WINAPI HTMLElement_getAttribute(IHTMLElement *iface, BSTR strAttr if(!This->nselem) { FIXME("NULL nselem\n"); - return E_NOTIMPL; + V_VT(AttributeValue) = VT_NULL; + return S_OK; } V_VT(AttributeValue) = VT_NULL;
participants (1)
-
Alexandre Julliard