Commit 3588479e authored by David Kahurani's avatar David Kahurani Committed by Alexandre Julliard

riched20: Remove duplicate code.

parent 434c6e2d
...@@ -902,9 +902,8 @@ void ME_GetCharFormat( ME_TextEditor *editor, const ME_Cursor *from, ...@@ -902,9 +902,8 @@ void ME_GetCharFormat( ME_TextEditor *editor, const ME_Cursor *from,
run_copy_char_fmt( run, &tmp ); run_copy_char_fmt( run, &tmp );
assert((tmp.dwMask & dwAttribs) == dwAttribs); 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 (fmt->dwMask & CFM_FACE)
{ {
if (!(tmp.dwMask & CFM_FACE)) if (!(tmp.dwMask & CFM_FACE))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment