Commit bdbc26f3 authored by Keith Packard's avatar Keith Packard

Make fc-match behave better when style is unknown (bug 15332)

parent 3322ca85
......@@ -202,7 +202,7 @@ main (int argc, char **argv)
if (FcPatternGetString (fs->fonts[j], FC_FAMILY, 0, &family) != FcResultMatch)
family = (FcChar8 *) "<unknown family>";
if (FcPatternGetString (fs->fonts[j], FC_STYLE, 0, &style) != FcResultMatch)
file = (FcChar8 *) "<unknown style>";
style = (FcChar8 *) "<unknown style>";
printf ("%s: \"%s\" \"%s\"\n", file, family, style);
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