Commit 4657944d authored by Keith Packard's avatar Keith Packard
Browse files

FcInit should return FcFalse when FcInitLoadConfigAndFonts fails. (bug 10976)

Thanks to David <> for spotting this error.
parent 28baf727
......@@ -123,7 +123,7 @@ FcInit (void)
return FcTrue;
config = FcInitLoadConfigAndFonts ();
if (!config)
return FcTrue;
return FcFalse;
FcConfigSetCurrent (config);
if (FcDebug() & FC_DBG_MEMORY)
FcMemReport ();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment