Apply Matthias Clasen's patch to fix obvious bogosity (i.e. missing
FcObjectPtrU).
This commit is contained in:
parent
0230c9f887
commit
07b3e57663
|
@ -792,7 +792,7 @@ FcPatternHash (const FcPattern *p)
|
||||||
for (i = 0; i < p->num; i++)
|
for (i = 0; i < p->num; i++)
|
||||||
{
|
{
|
||||||
h = (((h << 1) | (h >> 31)) ^
|
h = (((h << 1) | (h >> 31)) ^
|
||||||
FcStringHash ((const FcChar8 *) ((FcPatternEltU(p->elts)+i)->object)) ^
|
FcStringHash (FcObjectPtrU ((FcPatternEltU(p->elts)+i)->object)) ^
|
||||||
FcValueListHash ((FcPatternEltU(p->elts)+i)->values));
|
FcValueListHash ((FcPatternEltU(p->elts)+i)->values));
|
||||||
}
|
}
|
||||||
return h;
|
return h;
|
||||||
|
|
Loading…
Reference in New Issue