riched20: Remove duplicate code.

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
This commit is contained in:
David Kahurani 2022-07-25 22:18:22 +03:00 committed by Alexandre Julliard
parent 434c6e2d32
commit 3588479e1a

View file

@ -902,9 +902,8 @@ void ME_GetCharFormat( ME_TextEditor *editor, const ME_Cursor *from,
run_copy_char_fmt( run, &tmp );
assert((tmp.dwMask & dwAttribs) == dwAttribs);
/* reset flags that differ */
if (fmt->yHeight != tmp.yHeight) fmt->dwMask &= ~CFM_SIZE;
/* reset flags that differ */
if (fmt->dwMask & CFM_FACE)
{
if (!(tmp.dwMask & CFM_FACE))