diff src/font-mgr.c @ 5830:5f02d29a2a65

Get the previous patch wrt. FcNameUnparse right. 2014-11-23 Michael Sperber <mike@xemacs.org> * font-mgr.c (Ffc_name_unparse): Do the previous change to this file right and parse the pattern sans the charset.
author Mike Sperber <sperber@deinprogramm.de>
date Sun, 23 Nov 2014 19:26:14 +0100
parents 6928877dbc26
children
line wrap: on
line diff
--- a/src/font-mgr.c	Mon Nov 10 14:20:19 2014 -0500
+++ b/src/font-mgr.c	Sun Nov 23 19:26:14 2014 +0100
@@ -269,7 +269,7 @@
   {
     FcPattern* temp = FcPatternDuplicate (XFC_PATTERN_PTR (pattern));
     FcPatternDel (temp, FC_CHARSET);
-    name = FcNameUnparse (XFC_PATTERN_PTR (pattern));
+    name = FcNameUnparse (temp);
     FcPatternDestroy (temp);
   }
   result = build_fcapi_string (name);