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:
Rémi Bernon 2020-08-31 15:26:26 +02:00 committed by Alexandre Julliard
parent a0faee89e0
commit e07eb13ae8
1 changed files with 1 additions and 2 deletions

View File

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