mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 19:10:35 +00:00
riched20: Don't clear CFM_UNDERLINE flag when applying styles where it is set.
This commit is contained in:
parent
943ac9795b
commit
9f41a53c2a
@ -218,7 +218,6 @@ ME_Style *ME_ApplyStyle(ME_Style *sSrc, CHARFORMAT2W *style)
|
||||
if (style->dwMask & CFM_UNDERLINE)
|
||||
{
|
||||
s->fmt.dwMask |= CFM_UNDERLINETYPE;
|
||||
s->fmt.dwMask &= ~CFM_UNDERLINE;
|
||||
s->fmt.bUnderlineType = (style->dwEffects & CFM_UNDERLINE) ?
|
||||
CFU_CF1UNDERLINE : CFU_UNDERLINENONE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user