summaryrefslogtreecommitdiff
path: root/fc-cache/fc-cache.c
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2018-02-05 12:47:01 +0900
committerAkira TAGOH <akira@tagoh.org>2018-02-05 12:47:01 +0900
commit34b5c949d51fcc8eafe2301ca8f539f735e31522 (patch)
tree92e5427b3a1f193761f518bd1cb44c6a3b26fb23 /fc-cache/fc-cache.c
parent5710377301f7193f133103cede00e81a2051eb51 (diff)
Do not mix up font dirs into the list of config dirs
Diffstat (limited to 'fc-cache/fc-cache.c')
-rw-r--r--fc-cache/fc-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
index 1cea5c70..dc93c19c 100644
--- a/fc-cache/fc-cache.c
+++ b/fc-cache/fc-cache.c
@@ -383,7 +383,7 @@ main (int argc, char **argv)
FcStrSetDestroy (dirs);
}
else
- list = FcConfigGetConfigDirs (config);
+ list = FcConfigGetFontDirs (config);
if ((processed_dirs = FcStrSetCreate()) == NULL) {
fprintf(stderr, _("Out of Memory\n"));