Commit 57eaf0ba authored by Akira TAGOH's avatar Akira TAGOH

Returns false if key is already available in the table

parent dd21876e
......@@ -167,7 +167,7 @@ FcHashTableAdd (FcHashTable *table,
table->value_destroy_func (bucket->value);
free (bucket);
return !ret;
return FcFalse;
}
retry:
for (prev = &table->buckets[hash % FC_HASH_SIZE];
......
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