Revert "Keep the same behavior to the return value of FcConfigParseAndLoad"
This reverts commit dc56ff8040
.
This commit is contained in:
parent
0757556ddf
commit
5603e06aeb
|
@ -3314,10 +3314,7 @@ FcConfigParseAndLoad (FcConfig *config,
|
|||
|
||||
f = FcConfigFilename (name);
|
||||
if (!f)
|
||||
{
|
||||
ret = FcTrue;
|
||||
goto bail0;
|
||||
}
|
||||
if (sysroot)
|
||||
filename = FcStrBuildFilename (sysroot, f, NULL);
|
||||
else
|
||||
|
@ -3348,7 +3345,6 @@ FcConfigParseAndLoad (FcConfig *config,
|
|||
fd = FcOpen ((char *) filename, O_RDONLY);
|
||||
if (fd == -1) {
|
||||
FcStrFree (filename);
|
||||
ret = FcTrue;
|
||||
goto bail1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue