Apply Matthias Clasen's patch to fix obvious bogosity (i.e. missing

FcObjectPtrU).
This commit is contained in:
Patrick Lam 2005-09-01 18:29:28 +00:00
parent 0230c9f887
commit 07b3e57663
1 changed files with 1 additions and 1 deletions

View File

@ -792,7 +792,7 @@ FcPatternHash (const FcPattern *p)
for (i = 0; i < p->num; i++)
{
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));
}
return h;