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