diff --git a/src/fcstr.c b/src/fcstr.c index dc7807d..2f2cd4d 100644 --- a/src/fcstr.c +++ b/src/fcstr.c @@ -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 == '\\')