diff options
Diffstat (limited to 'src/fcdir.c')
-rw-r--r-- | src/fcdir.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/fcdir.c b/src/fcdir.c index 62314a3..c15b727 100644 --- a/src/fcdir.c +++ b/src/fcdir.c @@ -220,14 +220,11 @@ FcDirScanConfig (FcFontSet *set, for (i = 0; i < filelist->num; i++) FcFileScanFontConfig (tmpSet, blanks, filelist->strs[i], config); - if (FcShouldWriteFiles ()) - { - /* - * Now that the directory has been scanned, - * write out the cache file - */ - FcDirCacheWrite (tmpSet, dirlist, dir, config); - } + /* + * Now that the directory has been scanned, + * write out the cache file + */ + FcDirCacheWrite (tmpSet, dirlist, dir, config); /* * Add the discovered fonts to our internal non-cache list |