LCL: Fix quote char in OpenDocument and SelectInFolder for Linux.

This commit is contained in:
Juha 2025-02-02 10:06:32 +02:00
parent 94951a82fd
commit 4164e5b669

View File

@ -44,7 +44,7 @@ begin
Exit(False);
if (APath<>'') and (APath[1]<>'"') then
APath:=QuotedStr(APath);
APath:=APath.QuotedString('"');
RunCmdFromPath(lApp,APath);
end;
@ -104,7 +104,7 @@ begin
end;
if (FileParam <> '') and (FileParam[1] <> '"') then
FileParam := QuotedStr(FileParam);
FileParam := FileParam.QuotedString('"');
RunCmdFromPath(lApp, SelParam + FileParam, []);
Result := True;
end;