summaryrefslogtreecommitdiff
path: root/fc-cache
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2006-01-10 13:15:05 +0000
committerPatrick Lam <plam@MIT.EDU>2006-01-10 13:15:05 +0000
commitdf3efc11a9584e2099366c31ba64ac9346760321 (patch)
tree003f9998bc2de7ce3a033ec9fd0e15d9b8d73284 /fc-cache
parentcd9bca69702900ca9b24319c76b2dc9432bb548f (diff)
Explicitly add font dirs to config.fontDirs even if they're empty. Set
current config in fc-cache.c. Fix treatment of cache directory as read from cache file; don't use string equality to determine if we have the right file, use inode equality.
Diffstat (limited to 'fc-cache')
-rw-r--r--fc-cache/fc-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
index 6aa53a5..6fcf04d 100644
--- a/fc-cache/fc-cache.c
+++ b/fc-cache/fc-cache.c
@@ -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])
{