]> git.wh0rd.org - fontconfig.git/blobdiff - fc-cache/fc-cache.c
Explicitly add font dirs to config.fontDirs even if they're empty. Set
[fontconfig.git] / fc-cache / fc-cache.c
index 6aa53a5a76bc5c2445909f572509f6ca157fffb3..6fcf04d444e468356e2db597453e8c10b8a015e0 100644 (file)
@@ -281,6 +281,7 @@ main (int argc, char **argv)
        fprintf (stderr, "%s: Can't init font config library\n", argv[0]);
        return 1;
     }
+    FcConfigSetCurrent (config);
 
     if (argv[i])
     {