[Fontconfig-bugs] [Bug 107444] New: Missing closing bracket in src/fcstr.c (git master)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 1 14:48:19 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107444

            Bug ID: 107444
           Summary: Missing closing bracket in src/fcstr.c (git master)
           Product: fontconfig
           Version: unspecified
          Hardware: Other
                OS: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: library
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: sora at posteo.jp
        QA Contact: freedesktop at behdad.org

There is a missing closing bracket in src/fcstr.c at line 875:
https://cgit.freedesktop.org/fontconfig/tree/src/fcstr.c#n875

Patch:

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 == '/';
-- 
2.18.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180801/454801eb/attachment.html>


More information about the Fontconfig-bugs mailing list