From 4657944d0c39a640b2e30dfbd95f13d79a99460b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 25 Oct 2007 00:41:28 -0700 Subject: [PATCH] FcInit should return FcFalse when FcInitLoadConfigAndFonts fails. (bug 10976) Thanks to David for spotting this error. --- src/fcinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); -- 2.39.5