Ver código fonte

Fixing VMS path parsing: https://winscp.net/forum/viewtopic.php?p=78576#78576

Source commit: eb4780bef2f8284d1657587d78404bf186a66f78
Martin Prikryl 8 anos atrás
pai
commit
0a848d1b66
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      source/filezilla/ServerPath.cpp

+ 1 - 1
source/filezilla/ServerPath.cpp

@@ -246,7 +246,7 @@ BOOL CServerPath::SetPath(CString &newpath, BOOL bIsFile /*=FALSE*/)
               return FALSE;
             else if (rpos!=(path.GetLength()-1) )
             {
-              file=file.Mid(rpos+1);
+              file=path.Mid(rpos+1);
               path=path.Left(rpos+1);
             }
             else