FcConfigParseAndLoad*() should returns false on config errors
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/168 Reported by Lawrence D'Oliveiro
This commit is contained in:
parent
2960391699
commit
36f46ba720
|
@ -3620,7 +3620,7 @@ bail0:
|
|||
FcConfigMessage (0, FcSevereError, "Cannot %s default config file", load ? "load" : "scan");
|
||||
return FcFalse;
|
||||
}
|
||||
return FcTrue;
|
||||
return ret;
|
||||
}
|
||||
|
||||
FcBool
|
||||
|
|
Loading…
Reference in New Issue