mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
riched20: Remove duplicate code.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
This commit is contained in:
parent
434c6e2d32
commit
3588479e1a
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue