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:
13cdf60
)
Add missing FcValueCanonicalize on call to FcPatternAdd.
author
Patrick Lam
<plam@MIT.EDU>
Fri, 16 Sep 2005 04:57:18 +0000
(
04:57
+0000)
committer
Patrick Lam
<plam@MIT.EDU>
Fri, 16 Sep 2005 04:57:18 +0000
(
04:57
+0000)
src/fcpat.c
patch
|
blob
|
history
diff --git
a/src/fcpat.c
b/src/fcpat.c
index
9600d33
..
84154ea
100644
(file)
--- a/
src/fcpat.c
+++ b/
src/fcpat.c
@@
-1215,7
+1215,8
@@
FcPatternDuplicate (const FcPattern *orig)
FcValueListPtrU(l);
l = FcValueListPtrU(l)->next)
if (!FcPatternAdd (new, FcObjectPtrU((e + i)->object),
- FcValueListPtrU(l)->value, FcTrue))
+ FcValueCanonicalize(&FcValueListPtrU(l)->value),
+ FcTrue))
goto bail1;
}