mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 14:09:31 +02:00
IDE: fixed TrimSearchPath to keep a . path
git-svn-id: trunk@27366 -
This commit is contained in:
parent
db8fac4fac
commit
96b933cc95
@ -5,7 +5,7 @@ unit compiler_path_options;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
|
||||
Classes, SysUtils, LCLProc, FileUtil, Forms, Controls, Graphics, Dialogs,
|
||||
Buttons, StdCtrls, LCLType, InterfaceBase, IDEOptionsIntf, Project,
|
||||
CompilerOptions, LazarusIDEStrConsts, PathEditorDlg, LazConf, IDEProcs,
|
||||
CheckCompilerOpts, MacroIntf, ShowCompilerOpts, MainIntf,
|
||||
|
@ -1347,7 +1347,10 @@ begin
|
||||
CurPath:=AppendPathDelim(TrimFilename(CurPath));
|
||||
if Result<>'' then
|
||||
CurPath:=';'+CurPath;
|
||||
Result:=Result+CurPath;
|
||||
if CurPath<>'' then
|
||||
Result:=Result+CurPath
|
||||
else
|
||||
Result:=Result+'.';
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user