mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:36:01 +02:00
IDE: TrimSearchPath: chomp path delims instead of add
git-svn-id: trunk@27367 -
This commit is contained in:
parent
96b933cc95
commit
a8a47d05b0
@ -1344,7 +1344,7 @@ begin
|
||||
if CurPath<>'' then begin
|
||||
if (BaseDir<>'') and (not FilenameIsAbsolute(CurPath)) then
|
||||
CurPath:=BaseDir+CurPath;
|
||||
CurPath:=AppendPathDelim(TrimFilename(CurPath));
|
||||
CurPath:=ChompPathDelim(TrimFilename(CurPath));
|
||||
if Result<>'' then
|
||||
CurPath:=';'+CurPath;
|
||||
if CurPath<>'' then
|
||||
|
Loading…
Reference in New Issue
Block a user