diff options
Diffstat (limited to 'pango/pangofc-fontmap.c')
-rw-r--r-- | pango/pangofc-fontmap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c index b2c44300..ec504094 100644 --- a/pango/pangofc-fontmap.c +++ b/pango/pangofc-fontmap.c @@ -2842,6 +2842,12 @@ pango_fc_family_list_faces (PangoFontFamily *family, { PangoFcFamily *fcfamily = PANGO_FC_FAMILY (family); + if (faces) + *faces = NULL; + + if (n_faces) + *n_faces = 0; + if (G_UNLIKELY (!fcfamily->fontmap)) return; |