fontconfig: Branch 'master'

[email protected] (Akira TAGOH)
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
 src/fchash.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 57eaf0ba7ea7f88510053688f3c3c4658da83596
Author: Akira TAGOH <[email protected]>
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];
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.