mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 23:19:50 +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 CurPath<>'' then begin
|
||||||
if (BaseDir<>'') and (not FilenameIsAbsolute(CurPath)) then
|
if (BaseDir<>'') and (not FilenameIsAbsolute(CurPath)) then
|
||||||
CurPath:=BaseDir+CurPath;
|
CurPath:=BaseDir+CurPath;
|
||||||
CurPath:=AppendPathDelim(TrimFilename(CurPath));
|
CurPath:=ChompPathDelim(TrimFilename(CurPath));
|
||||||
if Result<>'' then
|
if Result<>'' then
|
||||||
CurPath:=';'+CurPath;
|
CurPath:=';'+CurPath;
|
||||||
if CurPath<>'' then
|
if CurPath<>'' then
|
||||||
|
Loading…
Reference in New Issue
Block a user