diff options
author | Patrick Lam <plam@MIT.EDU> | 2005-09-01 06:14:46 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2005-09-01 06:14:46 +0000 |
commit | 2304e38f9bc070ccd54f80187c208d93b6eeb373 (patch) | |
tree | e22edbd5f2d2d5569d02989e94d9f1cfb94eb8b9 /fc-cache | |
parent | 5e678e9459f71878d72f72d3765f7dc7e8f3f643 (diff) |
:
Save subdirectory names in cache files to save time. This completely
restores the original fontconfig API, BTW. Note that directories
without fonts don't get a cache file; but then how many files would it
have in that directory...
Diffstat (limited to 'fc-cache')
-rw-r--r-- | fc-cache/fc-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index fc0c4e5..fed6429 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -203,7 +203,7 @@ scanDirs (FcStrList *list, FcConfig *config, char *program, FcBool force, FcBool printf ("caching, %d fonts, %d dirs\n", set->nfont, nsubdirs (subdirs)); - if (!FcDirSave (set, dir)) + if (!FcDirSave (set, subdirs, dir)) { fprintf (stderr, "Can't save cache in \"%s\"\n", dir); ret++; |