win32u: Document the font_lock handling in font_EnumFonts().
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=49202
This commit is contained in:
parent
7f62f7be87
commit
a9c03e6d5b
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue