riched20: Don't clear CFM_UNDERLINE flag when applying styles where it is set.

This commit is contained in:
Alexander Nicolaysen Sørnes 2008-01-20 17:50:52 +01:00 committed by Alexandre Julliard
parent 943ac9795b
commit 9f41a53c2a
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}