fontconfig: Branch 'master'

[email protected] (GitLab Mirror) Tue, 21 Aug 2018 03:13:13 +0000 (UTC)
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
 src/fcstr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ddeec818cc6cbf4b09594bc05d2b6e589388753c
Author: Akira TAGOH <[email protected]>
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 == '/';
_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig