fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

New commits:
commit dd427253cc73d8786bbf436ec4d026f370ab0812
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Wed Feb 25 17:36:50 2015 +0900

    filter can be null

diff --git a/src/fcstat.c b/src/fcstat.c
index 354362f..47b5884 100644
--- a/src/fcstat.c
+++ b/src/fcstat.c
@@ -213,7 +213,7 @@ FcScandir (const char		*dirp,
     *dlist = NULL;
     while ((dent = readdir (d)))
     {
-	if ((filter) (dent))
+	if (!filter || (filter) (dent))
 	{
 	    p = (struct dirent *) malloc (sizeof (struct dirent));
 	    memcpy (p, dent, sizeof (struct dirent));
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig





[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux