[Fontconfig] fontconfig: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jul 22 05:41:30 UTC 2019
src/fcxml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 36f46ba7201481e6fee25cf3c78038d57f41d7cf
Author: Akira TAGOH <akira at tagoh.org>
Date: Mon Jul 22 05:35:21 2019 +0000
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 @@ bail0:
FcConfigMessage (0, FcSevereError, "Cannot %s default config file", load ? "load" : "scan");
return FcFalse;
}
- return FcTrue;
+ return ret;
}
FcBool
More information about the Fontconfig
mailing list