[Fontconfig] fontconfig: Branch 'master'

Akira TAGOH tagoh at kemper.freedesktop.org
Mon Dec 18 07:41:39 UTC 2017


 src/fchash.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 57eaf0ba7ea7f88510053688f3c3c4658da83596
Author: Akira TAGOH <akira at tagoh.org>
Date:   Mon Dec 18 16:41:04 2017 +0900

    Returns false if key is already available in the table

diff --git a/src/fchash.c b/src/fchash.c
index 9857abc..54e2334 100644
--- a/src/fchash.c
+++ b/src/fchash.c
@@ -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];


More information about the Fontconfig mailing list