summaryrefslogtreecommitdiff
path: root/src/fccfg.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-10-07 16:42:36 -0400
committerBehdad Esfahbod <behdad@behdad.org>2013-01-02 00:58:52 -0600
commite53f5da54f066f73a53eba1f82f54521fa3f7ea2 (patch)
tree78e1b2a5cc5f6d45204a2d8cb26bde653177ef32 /src/fccfg.c
parent7ae24b4554a8543d8cd41a83b6114e0143982758 (diff)
downloadfontconfig-e53f5da54f066f73a53eba1f82f54521fa3f7ea2.tar.gz
Minor
Diffstat (limited to 'src/fccfg.c')
-rw-r--r--src/fccfg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fccfg.c b/src/fccfg.c
index d7e588c..1ac7c43 100644
--- a/src/fccfg.c
+++ b/src/fccfg.c
@@ -428,8 +428,7 @@ FcConfig *
FcConfigGetCurrent (void)
{
if (!_fcConfig)
- if (!FcConfigInit ())
- return 0;
+ FcConfigInit ();
return _fcConfig;
}