diff options
Diffstat (limited to 'pango/fonts.c')
-rw-r--r-- | pango/fonts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index dffdca0c..1f0ee626 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -2462,7 +2462,7 @@ pango_font_family_real_get_face (PangoFontFamily *family, pango_font_family_list_faces (family, &faces, &n_faces); face = NULL; - if (name == NULL) + if (name == NULL && n_faces > 0) { face = faces[0]; } |