FcInit should return FcFalse when FcInitLoadConfigAndFonts fails. (bug 10976)
Thanks to David <ssdk@ispras.ru> for spotting this error.
This commit is contained in:
parent
28baf72736
commit
4657944d0c
|
@ -123,7 +123,7 @@ FcInit (void)
|
|||
return FcTrue;
|
||||
config = FcInitLoadConfigAndFonts ();
|
||||
if (!config)
|
||||
return FcTrue;
|
||||
return FcFalse;
|
||||
FcConfigSetCurrent (config);
|
||||
if (FcDebug() & FC_DBG_MEMORY)
|
||||
FcMemReport ();
|
||||
|
|
Loading…
Reference in New Issue