+2006-01-29 Mike Fabian <mfabian@suse.de>
+ reviewed by: plam
+
+ * src/fccache.c (FcGlobalCacheReadDir):
+
+ Fix global cache reads of subdirectories.
+
2006-01-29 Patrick Lam <plam@mit.edu>
* doc/fcconfig.fncs:
Add documentation for FcConfigNormalizeFontDir.
if (strncmp (d->name, dir, strlen(dir)) == 0)
{
lseek (cache->fd, d->offset, SEEK_SET);
- if (!FcDirCacheConsume (cache->fd, dir, set, config))
+ if (!FcDirCacheConsume (cache->fd, d->name, set, config))
return FcFalse;
if (strcmp (d->name, dir) == 0)
ret = FcTrue;