Commit 665a5d30 authored by Akira TAGOH's avatar Akira TAGOH

Fix a typo

parent 6b82c708
......@@ -169,7 +169,7 @@ FcHashTableAdd (FcHashTable *table,
return !ret;
}
for (prev = &table->buckets[hash & FC_HASH_SIZE];
for (prev = &table->buckets[hash % FC_HASH_SIZE];
(b = *prev); prev = &(b->next))
{
if (!table->compare_func (bucket->key, key))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment