summaryrefslogtreecommitdiff
path: root/fc-match
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-05-03 20:14:07 -0700
committerKeith Packard <keithp@keithp.com>2008-05-03 20:14:07 -0700
commitbdbc26f3d970581a3248c245451f7fbfb1609601 (patch)
tree4caa93b6c7914bbe1c6697a00c1ad14903a0de53 /fc-match
parent3322ca855330631e0d849e6beca0c2d82390898f (diff)
Make fc-match behave better when style is unknown (bug 15332)
Diffstat (limited to 'fc-match')
-rw-r--r--fc-match/fc-match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-match/fc-match.c b/fc-match/fc-match.c
index c92d2770..aadd08aa 100644
--- a/fc-match/fc-match.c
+++ b/fc-match/fc-match.c
@@ -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);
}