Commit fc141b49 authored by Keith Packard's avatar Keith Packard
Browse files

Have FcConfigSetCurrent accept the current configuration and simply return

without updating anything.
parent 7c693979
......@@ -332,6 +332,9 @@ FcConfigBuildFonts (FcConfig *config)
FcBool
FcConfigSetCurrent (FcConfig *config)
{
if (config == _fcConfig)
return FcTrue;
if (!config->fonts)
if (!FcConfigBuildFonts (config))
return FcFalse;
......
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