Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fontconfig
fontconfig
Commits
46d003c3
Commit
46d003c3
authored
Feb 24, 2003
by
Keith Packard
Browse files
Dont attempt to use cache if NULL
parent
e54692ac
Changes
1
Show whitespace changes
Inline
Side-by-side
src/fcdir.c
View file @
46d003c3
...
@@ -178,6 +178,7 @@ FcDirScan (FcFontSet *set,
...
@@ -178,6 +178,7 @@ FcDirScan (FcFontSet *set,
*/
*/
if
(
FcDirCacheReadDir
(
set
,
dirs
,
dir
))
if
(
FcDirCacheReadDir
(
set
,
dirs
,
dir
))
{
{
if
(
cache
)
FcGlobalCacheReferenceSubdir
(
cache
,
dir
);
FcGlobalCacheReferenceSubdir
(
cache
,
dir
);
return
FcTrue
;
return
FcTrue
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment