projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e54692a
)
Dont attempt to use cache if NULL
author
Keith Packard
<keithp@keithp.com>
Mon, 24 Feb 2003 16:51:29 +0000
(16:51 +0000)
committer
Keith Packard
<keithp@keithp.com>
Mon, 24 Feb 2003 16:51:29 +0000
(16:51 +0000)
src/fcdir.c
patch
|
blob
|
history
diff --git
a/src/fcdir.c
b/src/fcdir.c
index
6750562
..
86493b7
100644
(file)
--- a/
src/fcdir.c
+++ b/
src/fcdir.c
@@
-178,7
+178,8
@@
FcDirScan (FcFontSet *set,
*/
if (FcDirCacheReadDir (set, dirs, dir))
{
- FcGlobalCacheReferenceSubdir (cache, dir);
+ if (cache)
+ FcGlobalCacheReferenceSubdir (cache, dir);
return FcTrue;
}