summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-12-11 18:53:57 +0900
committerAkira TAGOH <akira@tagoh.org>2012-12-11 18:53:57 +0900
commit9ce36f4bbebc702a35d0cd9f1a59d5b828549bc6 (patch)
tree6bc7a7b6de3e5c701739ba67409baf854f4c3936 /src
parent58040349e8309601b0e5488b8a71cedf03f81415 (diff)
Check the system font to be initialized
config->fonts is an array and checking if config->fonts is a null will not be useful.
Diffstat (limited to 'src')
-rw-r--r--src/fccfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fccfg.c b/src/fccfg.c
index 45b48694..f94f0e05 100644
--- a/src/fccfg.c
+++ b/src/fccfg.c
@@ -398,7 +398,7 @@ FcConfigSetCurrent (FcConfig *config)
if (config == _fcConfig)
return FcTrue;
- if (!config->fonts)
+ if (!config->fonts[FcSetSystem])
if (!FcConfigBuildFonts (config))
return FcFalse;