Missing closing bracket in src/fcstr.c (git master)
Submitted by sor..@..teo.jp
Assigned to fon..@..op.org
Link to original bug (#107444)
Description
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