]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcinit.c
Automatically initialize the fontconfig library
[fontconfig.git] / src / fcinit.c
index b18d08a08af0446b37ab304049429efa4bb9f701..80324fbe71ae1c8194fb30ee677a51c5f11370a0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $XFree86: $
+ * $XFree86: xc/lib/fontconfig/src/fcinit.c,v 1.2 2002/02/15 06:01:28 keithp Exp $
  *
  * Copyright © 2001 Keith Packard, member of The XFree86 Project, Inc.
  *
@@ -67,7 +67,7 @@ FcInitConfig (void)
 {
     FcConfig    *config;
     
-    if (FcConfigGetCurrent ())
+    if (_fcConfig)
        return FcTrue;
     
     config = FcConfigCreate ();