Commit 8890f944 authored by Akira TAGOH's avatar Akira TAGOH

Fix wrongly squashing for the network path on Win32.

Patch from Diego Santa Cruz
parent 8daa863c
......@@ -974,6 +974,10 @@ FcStrCanonAbsoluteFilename (const FcChar8 *s)
FcMemAlloc (FC_MEM_STRING, size);
slash = NULL;
f = file;
#ifdef _WIN32
if (*s == '/' && *(s+1) == '/') /* Network path, do not squash // */
*f++ = *s++;
#endif
for (;;) {
if (*s == '/' || *s == '\0')
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment