Commit 4aded3e0 authored by Keith Packard's avatar Keith Packard

Oops. Made a mistake when adding config file names to monitor list

parent 4645eedf
/*
* $XFree86: xc/lib/fontconfig/src/fcxml.c,v 1.12 2002/06/19 20:08:22 keithp Exp $
* $XFree86: xc/lib/fontconfig/src/fcxml.c,v 1.13 2002/06/21 06:14:45 keithp Exp $
*
* Copyright 2002 Keith Packard, member of The XFree86 Project, Inc.
*
......@@ -1655,6 +1655,10 @@ FcConfigParseAndLoad (FcConfig *config,
filename = FcConfigFilename (name);
if (!filename)
goto bail0;
if (!FcStrSetAdd (config->configFiles, filename))
goto bail0;
f = fopen ((char *) filename, "r");
free (filename);
if (!f)
......@@ -1667,9 +1671,6 @@ FcConfigParseAndLoad (FcConfig *config,
if (!FcConfigInit (&parse, name, config, p))
goto bail2;
if (!FcConfigAddConfigFile (config, filename))
goto bail3;
XML_SetUserData (p, &parse);
XML_SetDoctypeDeclHandler (p, FcStartDoctypeDecl, FcEndDoctypeDecl);
......
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