# HG changeset patch # User Mike Sperber # Date 1416767174 -3600 # Node ID 5f02d29a2a65ef3cb2b14acdc33bad792623146d # Parent 0303baa7c4e9b2db8c146a914d7599e6c0fd3bdc Get the previous patch wrt. FcNameUnparse right. 2014-11-23 Michael Sperber * font-mgr.c (Ffc_name_unparse): Do the previous change to this file right and parse the pattern sans the charset. diff -r 0303baa7c4e9 -r 5f02d29a2a65 src/ChangeLog --- a/src/ChangeLog Mon Nov 10 14:20:19 2014 -0500 +++ b/src/ChangeLog Sun Nov 23 19:26:14 2014 +0100 @@ -1,3 +1,8 @@ +2014-11-23 Michael Sperber + + * font-mgr.c (Ffc_name_unparse): Do the previous change to this + file right and parse the pattern sans the charset. + 2014-11-06 Vin Shelton * sysdep.c (set_descriptor_non_blocking): Don't call ioctl() on diff -r 0303baa7c4e9 -r 5f02d29a2a65 src/font-mgr.c --- 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);