summaryrefslogtreecommitdiff
path: root/fc-list
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2005-10-21 19:47:43 +0000
committerPatrick Lam <plam@MIT.EDU>2005-10-21 19:47:43 +0000
commit2fa3f27e68834d55f0f451514a0658b247fddb0d (patch)
tree1688e3219a83904c0ad8cf19f9685430aa71ffac /fc-list
parent250c1cd422ce6260ff58f2699043556d93729ef7 (diff)
Prevent fc-list from escaping strings when printing them.
Diffstat (limited to 'fc-list')
-rw-r--r--fc-list/fc-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-list/fc-list.c b/fc-list/fc-list.c
index 04026cfa..48fbb601 100644
--- a/fc-list/fc-list.c
+++ b/fc-list/fc-list.c
@@ -150,7 +150,7 @@ main (int argc, char **argv)
FcChar8 *font;
FcChar8 *file;
- font = FcNameUnparse (fs->fonts[j]);
+ font = FcNameUnparseEscaped (fs->fonts[j], FcFalse);
if (FcPatternGetString (fs->fonts[j], FC_FILE, 0, &file) == FcResultMatch)
printf ("%s: ", file);
printf ("%s\n", font);