IDE/lazbuild: use GetAppConfigDirUTF8, bug #29157

git-svn-id: branches/fixes_1_6@50718 -
This commit is contained in:
mattias 2015-12-09 16:04:57 +00:00
parent fa0e3b0619
commit 93d42defdd

View File

@ -148,7 +148,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(ChompPathDelim(SysToUTF8(GetAppConfigDir(False)))) + 'lazarus';
PrimaryConfigPath:= ExtractFilePath(ChompPathDelim(GetAppConfigDirUTF8(False))) + 'lazarus';
SecondaryConfigPath:=ChompPathDelim(ProgramDirectory);
DefaultFPCSrcDirs[1] := AppendPathDelim(ProgramDirectory) + 'fpcsrc';
DefaultLazarusSrcDirs[1] := DefaultDrive + '\lazarus';