Commit 96fdbabc authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

gdi32: Do not compare face file names in insert_face_in_family_list() if either is NULL.

parent 22dce305
...@@ -913,7 +913,7 @@ static BOOL insert_face_in_family_list( struct gdi_font_face *face, struct gdi_f ...@@ -913,7 +913,7 @@ static BOOL insert_face_in_family_list( struct gdi_font_face *face, struct gdi_f
debugstr_w(face->full_name), debugstr_w(family->family_name), debugstr_w(face->full_name), debugstr_w(family->family_name),
cursor->version, face->version ); cursor->version, face->version );
if (face->file && !wcsicmp( face->file, cursor->file )) if (face->file && cursor->file && !wcsicmp( face->file, cursor->file ))
{ {
cursor->refcount++; cursor->refcount++;
TRACE("Font %s already in list, refcount now %d\n", TRACE("Font %s already in list, refcount now %d\n",
......
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