Commit 46d003c3 authored by Keith Packard's avatar Keith Packard
Browse files

Dont attempt to use cache if NULL

parent e54692ac
......@@ -178,7 +178,8 @@ FcDirScan (FcFontSet *set,
if (FcDirCacheReadDir (set, dirs, dir))
FcGlobalCacheReferenceSubdir (cache, dir);
if (cache)
FcGlobalCacheReferenceSubdir (cache, dir);
return FcTrue;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment