gdi32: Only trace new faces when they are added.
Instead of every time they don't match another face. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a0faee89e0
commit
e07eb13ae8
|
@ -1574,12 +1574,11 @@ static BOOL insert_face_in_family_list( Face *face, Family *family )
|
|||
return TRUE;
|
||||
}
|
||||
}
|
||||
else
|
||||
TRACE("Adding new %s\n", debugstr_w(face->file));
|
||||
|
||||
if (style_order( face ) < style_order( cursor )) break;
|
||||
}
|
||||
|
||||
TRACE("Adding new %s\n", debugstr_w(face->file));
|
||||
list_add_before( &cursor->entry, &face->entry );
|
||||
face->family = family;
|
||||
family->refcount++;
|
||||
|
|
Loading…
Reference in New Issue