commit | 36f46ba7201481e6fee25cf3c78038d57f41d7cf | [log] [tgz] |
---|---|---|
author | Akira TAGOH <akira@tagoh.org> | Mon Jul 22 05:35:21 2019 +0000 |
committer | Akira TAGOH <akira@tagoh.org> | Mon Jul 22 05:35:21 2019 +0000 |
tree | 696f5e28096495d0a656dbd4b967bef54118bfb2 | |
parent | 2960391699ab3b417a17a0a2ac29e97e9c3d3c99 [diff] |
FcConfigParseAndLoad*() should returns false on config errors Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/168 Reported by Lawrence D'Oliveiro
diff --git a/src/fcxml.c b/src/fcxml.c index 2e5898e..1591c5a 100644 --- a/src/fcxml.c +++ b/src/fcxml.c
@@ -3620,7 +3620,7 @@ FcConfigMessage (0, FcSevereError, "Cannot %s default config file", load ? "load" : "scan"); return FcFalse; } - return FcTrue; + return ret; } FcBool