mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-23 08:59:14 +02:00
IDE: fixed default primary config path in windows, was broken because GetAppConfigPath returns now with appended PathDelimeter
git-svn-id: trunk@16176 -
This commit is contained in:
parent
c1a8c3d29c
commit
fc280c1501
@ -172,7 +172,7 @@ begin
|
||||
// the last part of the path returned by GetAppConfigDir is the application
|
||||
// name. Replace that by 'lazarus', to make sure that lazbuild uses
|
||||
// the same primary config path
|
||||
PrimaryConfigPath:= ExtractFilePath(GetAppConfigDir(False)) + 'lazarus';
|
||||
PrimaryConfigPath:= ExtractFilePath(ChompPathDelim(GetAppConfigDir(False))) + 'lazarus';
|
||||
{$else}
|
||||
// fpc 2.2.0 cannot handle spaces in path in some circumstances
|
||||
PrimaryConfigPath:=ChompPathDelim(ProgramDirectory);
|
||||
|
Loading…
Reference in New Issue
Block a user