fontconfig: Branch 'master'

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

 



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

New commits:
commit 4657944d0c39a640b2e30dfbd95f13d79a99460b
Author: Keith Packard <keithp@xxxxxxxxxxxxxxx>
Date:   Thu Oct 25 00:41:28 2007 -0700

    FcInit should return FcFalse when FcInitLoadConfigAndFonts fails. (bug 10976)
    
    Thanks to David <ssdk@xxxxxxxxx> for spotting this error.

diff --git a/src/fcinit.c b/src/fcinit.c
index 693e0b7..96aaa44 100644
--- a/src/fcinit.c
+++ b/src/fcinit.c
@@ -123,7 +123,7 @@ FcInit (void)
 	return FcTrue;
     config = FcInitLoadConfigAndFonts ();
     if (!config)
-	return FcTrue;
+	return FcFalse;
     FcConfigSetCurrent (config);
     if (FcDebug() & FC_DBG_MEMORY)
 	FcMemReport ();
_______________________________________________
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