Fix missing closing bracket in FcStrIsAbsoluteFilename()
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/96
This commit is contained in:
parent
a1efb5ea8c
commit
ddeec818cc
|
@ -872,7 +872,7 @@ FcStrIsAbsoluteFilename (const FcChar8 *s)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (*s == '\\' ||
|
if (*s == '\\' ||
|
||||||
(isalpha (*s) && s[1] == ':' && (s[2] == '/' || s[2] == '\\'))
|
(isalpha (*s) && s[1] == ':' && (s[2] == '/' || s[2] == '\\')))
|
||||||
return FcTrue;
|
return FcTrue;
|
||||||
#endif
|
#endif
|
||||||
return *s == '/';
|
return *s == '/';
|
||||||
|
|
Loading…
Reference in New Issue