Fix a typo

This commit is contained in:
Akira TAGOH 2017-11-15 23:00:31 +09:00
parent 6b82c70835
commit 665a5d3044
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ FcHashTableAdd (FcHashTable *table,
return !ret; return !ret;
} }
for (prev = &table->buckets[hash & FC_HASH_SIZE]; for (prev = &table->buckets[hash % FC_HASH_SIZE];
(b = *prev); prev = &(b->next)) (b = *prev); prev = &(b->next))
{ {
if (!table->compare_func (bucket->key, key)) if (!table->compare_func (bucket->key, key))