Don't assign types to user object names.

This commit is contained in:
Patrick Lam 2005-12-06 18:57:43 +00:00
parent 9ede93f1dc
commit c6103dfb22
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-12-05 Patrick Lam <plam@mit.edu>
* src/fcname.c (FcNameGetObjectType):
Don't assign types to user object names.
2005-12-05 Patrick Lam <plam@mit.edu>
* src/fcpat.c (FcValueDestroy, FcValueListDestroy, FcStrHashed):

View File

@ -155,6 +155,9 @@ FcNameGetObjectType (const char *object)
for (l = _FcObjectTypes; l; l = l->next)
{
if (l == (FcObjectTypeList*)_FcUserObjectNames)
continue;
for (i = 0; i < l->ntypes; i++)
{
t = &l->types[i];