Fix warning.

This commit is contained in:
Patrick Lam 2006-02-08 03:34:17 +00:00
parent 5c3deb2985
commit b10e77628c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-07 Patrick Lam <plam@mit.edu>
* src/fccache.c (FcCacheReadDirs):
Fix warning.
2006-02-07 Patrick Lam <plam@mit.edu> 2006-02-07 Patrick Lam <plam@mit.edu>
* src/fcdir.c (FcDirScanConfig): * src/fcdir.c (FcDirScanConfig):

View File

@ -859,7 +859,7 @@ FcCacheReadDirs (FcConfig * config, FcGlobalCache * cache,
* to avoid the looped directories via symlinks * to avoid the looped directories via symlinks
* Clearly a dir not in fonts.conf shouldn't be globally cached. * Clearly a dir not in fonts.conf shouldn't be globally cached.
*/ */
dir = FcConfigNormalizeFontDir (config, dir); dir = (FcChar8 *)FcConfigNormalizeFontDir (config, dir);
if (!dir) if (!dir)
continue; continue;