Add missing FcValueCanonicalize on call to FcPatternAdd.
This commit is contained in:
parent
13cdf60753
commit
9fe2bd7ab0
|
@ -1215,7 +1215,8 @@ FcPatternDuplicate (const FcPattern *orig)
|
||||||
FcValueListPtrU(l);
|
FcValueListPtrU(l);
|
||||||
l = FcValueListPtrU(l)->next)
|
l = FcValueListPtrU(l)->next)
|
||||||
if (!FcPatternAdd (new, FcObjectPtrU((e + i)->object),
|
if (!FcPatternAdd (new, FcObjectPtrU((e + i)->object),
|
||||||
FcValueListPtrU(l)->value, FcTrue))
|
FcValueCanonicalize(&FcValueListPtrU(l)->value),
|
||||||
|
FcTrue))
|
||||||
goto bail1;
|
goto bail1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue