diff options
author | Patrick Lam <plam@MIT.EDU> | 2006-01-09 13:58:04 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2006-01-09 13:58:04 +0000 |
commit | cd9bca69702900ca9b24319c76b2dc9432bb548f (patch) | |
tree | 74881fd3fca3ac3726a1e0e55b47387d5dec9185 /fc-cat/fc-cat.c | |
parent | 5576a5873dc9cd6e11234df6e64dbff18afe6378 (diff) |
Normalize font dirs by using the form, as given in fonts.conf, and recorded
in FcConfig's fontDirs string set, as canonical.
Actually update config.fontDirs as font directories are scanned.
Diffstat (limited to 'fc-cat/fc-cat.c')
-rw-r--r-- | fc-cat/fc-cat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c index 14e5c164..419d29ff 100644 --- a/fc-cat/fc-cat.c +++ b/fc-cat/fc-cat.c @@ -202,7 +202,7 @@ FcCacheGlobalFileReadAndPrint (FcFontSet * set, FcStrSet *dirs, char *cache_file printf ("fc-cat: printing global cache contents for dir %s\n", name_buf); - if (!FcDirCacheConsume (fd, name_buf, set)) + if (!FcDirCacheConsume (fd, name_buf, set, 0)) goto bail1; dir = strdup(name_buf); @@ -261,7 +261,7 @@ FcCacheFileRead (FcFontSet * set, FcStrSet *dirs, char *cache_file) if (ls) *ls = 0; - if (!FcDirCacheConsume (fd, dir, set)) + if (!FcDirCacheConsume (fd, dir, set, 0)) goto bail2; free (dir); |