Fix missing closing bracket in FcStrIsAbsoluteFilename()

Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/96
This commit is contained in:
Akira TAGOH 2018-08-21 03:08:58 +00:00
parent a1efb5ea8c
commit ddeec818cc
1 changed files with 1 additions and 1 deletions

View File

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