diff options
Diffstat (limited to 'fc-cache/fc-cache.c')
-rw-r--r-- | fc-cache/fc-cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 507902f..fc0c4e5 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -270,8 +270,7 @@ main (int argc, char **argv) if (systemOnly) FcConfigEnableHome (FcFalse); /* need to use FcInitLoadConfig when we use dirs */ - FcInit (); - config = FcConfigGetCurrent (); + config = FcInitLoadConfig (); if (!config) { fprintf (stderr, "%s: Can't init font config library\n", argv[0]); |