Selaa lähdekoodia

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

Source commit: eb4780bef2f8284d1657587d78404bf186a66f78
Martin Prikryl 8 vuotta sitten
vanhempi
sitoutus
0a848d1b66
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
               return FALSE;
             else if (rpos!=(path.GetLength()-1) )
             else if (rpos!=(path.GetLength()-1) )
             {
             {
-              file=file.Mid(rpos+1);
+              file=path.Mid(rpos+1);
               path=path.Left(rpos+1);
               path=path.Left(rpos+1);
             }
             }
             else
             else