projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ede93f
)
Don't assign types to user object names.
author
Patrick Lam
<plam@MIT.EDU>
Tue, 6 Dec 2005 18:57:43 +0000
(18:57 +0000)
committer
Patrick Lam
<plam@MIT.EDU>
Tue, 6 Dec 2005 18:57:43 +0000
(18:57 +0000)
ChangeLog
patch
|
blob
|
history
src/fcname.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
a367294
..
64c37cc
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,4
+1,9
@@
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):
Don't free strings that have been returned from FcStrStaticName.
diff --git
a/src/fcname.c
b/src/fcname.c
index
fc3dbd4
..
d710035
100644
(file)
--- a/
src/fcname.c
+++ b/
src/fcname.c
@@
-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];