mshtml: Added IHTMLImgElement::isMap property implementation. (try 2)
Jacek Caban
jacek at codeweavers.com
Thu Aug 14 05:18:44 CDT 2014
Hi Zhenbo,
On 08/11/14 08:46, Zhenbo Li wrote:
> --- a/dlls/mshtml/htmlimg.c
> +++ b/dlls/mshtml/htmlimg.c
> @@ -102,15 +102,37 @@ static HRESULT WINAPI HTMLImgElement_Invoke(IHTMLImgElement *iface, DISPID dispI
> static HRESULT WINAPI HTMLImgElement_put_isMap(IHTMLImgElement *iface, VARIANT_BOOL v)
> {
> HTMLImgElement *This = impl_from_IHTMLImgElement(iface);
> - FIXME("(%p)->(%x)\n", This, v);
> - return E_NOTIMPL;
> + nsresult nsres;
> +
> + TRACE("(%p)->(%x)\n", This, v);
> +
> + nsres = nsIDOMHTMLImageElement_SetIsMap(This->nsimg, v ? TRUE : FALSE);
Please avoid v?TRUE:FALSE style expressions.
Cheers,
Jacek
More information about the wine-devel
mailing list