/*
- * $XFree86: xc/lib/fontconfig/src/fcdir.c,v 1.9 2002/08/31 22:17:32 keithp Exp $
+ * $RCSId: xc/lib/fontconfig/src/fcdir.c,v 1.9 2002/08/31 22:17:32 keithp Exp $
*
- * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
+ * Copyright © 2000 Keith Packard
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* Check fonts.cache-<version> file
*/
if (FcDirCacheReadDir (set, dirs, dir))
+ {
+ if (cache)
+ FcGlobalCacheReferenceSubdir (cache, dir);
return FcTrue;
+ }
/*
* Check ~/.fonts.cache-<version> file