Browse Source

Issue 2242 – Cannot browse long local paths

https://winscp.net/tracker/2242

Source commit: 10f9dca1213527e374d76f977fc2b143484af7a9
Martin Prikryl 1 year ago
parent
commit
f4b1f657e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/packages/filemng/DirView.pas

+ 1 - 1
source/packages/filemng/DirView.pas

@@ -1317,7 +1317,7 @@ begin
       Drive := DriveInfo.GetDriveKey(FPath);
       DriveInfo.ReadDriveStatus(Drive, dsSize);
       FDriveType := DriveInfo.Get(Drive).DriveType;
-      FDirOK := DriveInfo.Get(Drive).DriveReady and DirectoryExists(FPath);
+      FDirOK := DriveInfo.Get(Drive).DriveReady and DirectoryExists(ApiPath(FPath));
     end
       else
     begin