mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Pass local files as file path for %U, %u (see specification for details)
This commit is contained in:
parent
6ba07ef8e3
commit
cf26cdfd3a
1 changed files with 4 additions and 2 deletions
|
|
@ -114,6 +114,7 @@ begin
|
|||
|
||||
if CurPos <= Length(entry^.ExecWithParams) then
|
||||
case entry^.ExecWithParams[CurPos] of
|
||||
{
|
||||
'U':
|
||||
begin
|
||||
for i := 0 to fileList.Count - 1 do
|
||||
|
|
@ -130,7 +131,8 @@ begin
|
|||
Result := Result + QuoteStr(fileScheme + '//' + URIEncode(fileList[0]));
|
||||
filesAdded := True;
|
||||
end;
|
||||
'F':
|
||||
}
|
||||
'F','U':
|
||||
begin
|
||||
for i := 0 to fileList.Count - 1 do
|
||||
begin
|
||||
|
|
@ -140,7 +142,7 @@ begin
|
|||
end;
|
||||
filesAdded := True;
|
||||
end;
|
||||
'f':
|
||||
'f','u':
|
||||
if fileList.Count > 0 then
|
||||
begin
|
||||
Result := Result + QuoteStr(fileList[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue