mshtml: Implement IHTMLStyle_put_textDecorationUnderline (resend)

Jacek Caban jacek at codeweavers.com
Thu Feb 12 08:35:34 CST 2009


Alistair Leslie-Hughes wrote:
> Hi,
>
> Changelog:
>     mshtml: Implement IHTMLStyle_put_textDecorationUnderline

+
+    return set_style_attr(This, STYLEID_TEXT_DECORATION, v == VARIANT_TRUE ? valUnderline : emptyW, 0);



You shouldn't compare v to VARIANT_TRUE. The correct way to deal with 
bool values is 'v ? valUnderline : emptyW'.


Jacek



More information about the wine-devel mailing list