mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: fix the issue of mismatching to “/” when using a non-FileSystem FileSource
(cherry picked from commit 3d4dc7d6fc)
This commit is contained in:
parent
245d280e84
commit
6debd08913
1 changed files with 2 additions and 1 deletions
|
|
@ -6565,7 +6565,8 @@ begin
|
|||
if Pos(Address, DrivesList[I]^.Path) = 1 then
|
||||
Exit(I);
|
||||
end
|
||||
else begin
|
||||
else if (DrivesList[I]^.DriveType <> dtSpecial) and Address.IsEmpty then
|
||||
begin
|
||||
DrivePath := UTF8UpperCase(DrivesList[I]^.Path);
|
||||
DrivePathLen := UTF8Length(DrivePath);
|
||||
if (DrivePathLen > LongestPathLen) and IsInPath(DrivePath, Path, True, True) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue