Fix a crash
segfault happens when the config needs to be migrated to XDG's and no definition for include with prefix="xdg"
This commit is contained in:
parent
249306fbd7
commit
f053231186
|
@ -2388,6 +2388,7 @@ FcParseInclude (FcConfigParse *parse)
|
|||
filename = FcConfigFilename(s);
|
||||
if (deprecated == FcTrue &&
|
||||
filename != NULL &&
|
||||
userdir != NULL &&
|
||||
!FcFileIsLink (filename))
|
||||
{
|
||||
if (FcFileIsDir (filename))
|
||||
|
|
Loading…
Reference in New Issue