[win32] Do not remove leading '\\' such that network paths work
Raised by Diego Santa Cruz.
This commit is contained in:
parent
1cdf7efb22
commit
f9feb587fa
|
@ -944,6 +944,12 @@ FcConvertDosPath (char *str)
|
||||||
char *end = str + len;
|
char *end = str + len;
|
||||||
char last = 0;
|
char last = 0;
|
||||||
|
|
||||||
|
if (*p == '\\')
|
||||||
|
{
|
||||||
|
*p = '/';
|
||||||
|
p++;
|
||||||
|
dest++;
|
||||||
|
}
|
||||||
while (p < end)
|
while (p < end)
|
||||||
{
|
{
|
||||||
if (*p == '\\')
|
if (*p == '\\')
|
||||||
|
|
Loading…
Reference in New Issue