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:
aad4d6f
)
Fix crash with FcConfigSetCurrent(NULL)
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 8 Mar 2013 10:53:27 +0000
(
05:53
-0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 8 Mar 2013 10:53:27 +0000
(
05:53
-0500)
src/fccfg.c
patch
|
blob
|
history
diff --git
a/src/fccfg.c
b/src/fccfg.c
index
b762376
..
7da50b5
100644
(file)
--- a/
src/fccfg.c
+++ b/
src/fccfg.c
@@
-429,7
+429,7
@@
retry:
if (config == cfg)
return FcTrue;
- if (!config->fonts[FcSetSystem])
+ if (
config &&
!config->fonts[FcSetSystem])
if (!FcConfigBuildFonts (config))
return FcFalse;