* path.cc (mount_item::build_win32): Backslashify paths in non-managed case.

This commit is contained in:
Christopher Faylor
2003-12-26 18:26:17 +00:00
parent 91301b852f
commit 39add36fc3
3 changed files with 11 additions and 4 deletions

View File

@@ -1280,7 +1280,10 @@ mount_item::build_win32 (char *dst, const char *src, unsigned *outflags, unsigne
else if ((!(flags & MOUNT_ENC) && isdrive (dst) && !dst[2]) || *p)
dst[n++] = '\\';
if (!*p || !(flags & MOUNT_ENC))
strcpy (dst + n, p);
{
strcpy (dst + n, p);
backslashify (dst, dst, 0);
}
else
while (*p)
{