[win32] Do not remove leading '\\' such that network paths work

Raised by Diego Santa Cruz.
This commit is contained in:
Behdad Esfahbod 2009-02-03 20:50:29 -05:00
parent 1cdf7efb22
commit f9feb587fa
1 changed files with 7 additions and 1 deletions

View File

@ -943,7 +943,13 @@ FcConvertDosPath (char *str)
char *dest = str;
char *end = str + len;
char last = 0;
if (*p == '\\')
{
*p = '/';
p++;
dest++;
}
while (p < end)
{
if (*p == '\\')