From fc280c150187c073274a7de9e1c5aba064f88a92 Mon Sep 17 00:00:00 2001 From: vincents Date: Thu, 21 Aug 2008 13:07:37 +0000 Subject: [PATCH] IDE: fixed default primary config path in windows, was broken because GetAppConfigPath returns now with appended PathDelimeter git-svn-id: trunk@16176 - --- ide/include/win/lazbaseconf.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/include/win/lazbaseconf.inc b/ide/include/win/lazbaseconf.inc index fac796afde..b83f6d8e38 100644 --- a/ide/include/win/lazbaseconf.inc +++ b/ide/include/win/lazbaseconf.inc @@ -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);