Because we hacked FcPatternGet, we don't really need to expand the filename
again in FcPatternGetString.
This commit is contained in:
parent
618adbaf7b
commit
9226e04c69
|
@ -1,3 +1,9 @@
|
|||
2006-03-05 Patrick Lam <plam@mit.edu>
|
||||
* src/fcpat.c (FcPatternGetString):
|
||||
|
||||
Because we hacked FcPatternGet, we don't really need to expand the
|
||||
filename again in FcPatternGetString.
|
||||
|
||||
2006-03-05 Patrick Lam <plam@mit.edu>
|
||||
* src/fcpat.c (FcPatternGetString, FcPatternGet):
|
||||
|
||||
|
|
|
@ -1214,9 +1214,6 @@ FcPatternGetString (const FcPattern *p, const char *object, int id, FcChar8 ** s
|
|||
if (v.type != FcTypeString)
|
||||
return FcResultTypeMismatch;
|
||||
|
||||
if (FcObjectToPtr(object) == FcObjectToPtr(FC_FILE))
|
||||
return FcPatternGetFile (p, object, id, s);
|
||||
|
||||
*s = (FcChar8 *) v.u.s;
|
||||
return FcResultMatch;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue