[Fontconfig] fontconfig: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 21 03:13:13 UTC 2018


 src/fcstr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ddeec818cc6cbf4b09594bc05d2b6e589388753c
Author: Akira TAGOH <akira at tagoh.org>
Date:   Tue Aug 21 03:08:58 2018 +0000

    Fix missing closing bracket in FcStrIsAbsoluteFilename()
    
    Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/96

diff --git a/src/fcstr.c b/src/fcstr.c
index bfddd68..4247c85 100644
--- a/src/fcstr.c
+++ b/src/fcstr.c
@@ -872,7 +872,7 @@ FcStrIsAbsoluteFilename (const FcChar8 *s)
 {
 #ifdef _WIN32
     if (*s == '\\' ||
-	(isalpha (*s) && s[1] == ':' && (s[2] == '/' || s[2] == '\\'))
+	(isalpha (*s) && s[1] == ':' && (s[2] == '/' || s[2] == '\\')))
 	return FcTrue;
 #endif
     return *s == '/';


More information about the Fontconfig mailing list