fontconfig: Branch 'master'

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

 



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

New commits:
commit 36f46ba7201481e6fee25cf3c78038d57f41d7cf
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Mon Jul 22 05:35:21 2019 +0000

    FcConfigParseAndLoad*() should returns false on config errors
    
    Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/168
    
    Reported by Lawrence D'Oliveiro

diff --git a/src/fcxml.c b/src/fcxml.c
index 2e5898e..1591c5a 100644
--- a/src/fcxml.c
+++ b/src/fcxml.c
@@ -3620,7 +3620,7 @@ bail0:
 	    FcConfigMessage (0, FcSevereError, "Cannot %s default config file", load ? "load" : "scan");
 	return FcFalse;
     }
-    return FcTrue;
+    return ret;
 }
 
 FcBool
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://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