[PATCH 1/2] gdi32: Only trace new faces when they are added.
Rémi Bernon
rbernon at codeweavers.com
Mon Aug 31 08:26:26 CDT 2020
Instead of every time they don't match another face.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/gdi32/freetype.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index f82a8c1641f..38d59e3fd9b 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -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++;
--
2.28.0
More information about the wine-devel
mailing list