]> git.wh0rd.org - fontconfig.git/commitdiff
dont complain about missing optional included font config files
authorKeith Packard <keithp@keithp.com>
Wed, 20 Feb 2002 00:32:30 +0000 (00:32 +0000)
committerKeith Packard <keithp@keithp.com>
Wed, 20 Feb 2002 00:32:30 +0000 (00:32 +0000)
src/fcxml.c

index f31a93f16ebcad90eae82ff6cb25aeb03df0ec0d..64a5269bebc70e1d2101e0c92cb50d7661604acb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $XFree86: xc/lib/fontconfig/src/fcxml.c,v 1.2 2002/02/15 06:01:28 keithp Exp $
+ * $XFree86: xc/lib/fontconfig/src/fcxml.c,v 1.3 2002/02/18 22:29:28 keithp Exp $
  *
  * Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
  *
@@ -1180,7 +1180,7 @@ FcParseInclude (FcConfigParse *parse)
     i = FcConfigGetAttribute (parse, "ignore_missing");
     if (i && FcConfigLexBool ((FcChar8 *) i) == FcTrue)
        ignore_missing = FcTrue;
-    if (!FcConfigParseAndLoad (parse->config, s, ignore_missing))
+    if (!FcConfigParseAndLoad (parse->config, s, !ignore_missing))
        parse->error = FcTrue;
     free (s);
 }