Commit a9c03e6d authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

win32u: Document the font_lock handling in font_EnumFonts().

parent 7f62f7be
......@@ -3551,7 +3551,7 @@ static BOOL CDECL font_EnumFonts( PHYSDEV dev, LOGFONTW *lf, FONTENUMPROCW proc,
{
if (!face_matches( family->family_name, face, face_name )) continue;
if (!enum_face_charsets( family, face, enum_charsets, count, proc, lparam, orig_name ))
return FALSE;
return FALSE; /* enum_face_charsets() unlocked font_lock */
}
}
}
......@@ -3562,7 +3562,7 @@ static BOOL CDECL font_EnumFonts( PHYSDEV dev, LOGFONTW *lf, FONTENUMPROCW proc,
{
face = LIST_ENTRY( list_head(get_family_face_list(family)), struct gdi_font_face, entry );
if (!enum_face_charsets( family, face, enum_charsets, count, proc, lparam, NULL ))
return FALSE;
return FALSE; /* enum_face_charsets() unlocked font_lock */
}
}
pthread_mutex_unlock( &font_lock );
......
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