IDE: fixed initial setup dlg default paths

git-svn-id: trunk@53221 -
This commit is contained in:
mattias 2016-10-26 16:40:33 +00:00
parent 4e61552e3c
commit 230db065ad

View File

@ -303,7 +303,7 @@ begin
// Windows-only locations: // Windows-only locations:
if (GetDefaultSrcOSForTargetOS(GetCompiledTargetOS)='win') then begin if (GetDefaultSrcOSForTargetOS(GetCompiledTargetOS)='win') then begin
// check for debugger in fpc.exe directory - could be a lucky shot // check for debugger in fpc.exe directory - could be a lucky shot
if CheckFile(SetDirSeparators('$Path($(CompPath))/'+DebuggerFileName+GetExecutableExt),Result) if CheckFile(GetForcedPathDelims('$Path($(CompPath))/'+DebuggerFileName+GetExecutableExt),Result)
then exit; then exit;
end; end;
@ -767,7 +767,7 @@ begin
FPCSrcDirBrowseButton.Caption:=lisPathEditBrowse; FPCSrcDirBrowseButton.Caption:=lisPathEditBrowse;
FPCSrcDirLabel.Caption:=SimpleFormat(lisTheSourcesOfTheFreePascalPackagesAreRequiredForBro, FPCSrcDirLabel.Caption:=SimpleFormat(lisTheSourcesOfTheFreePascalPackagesAreRequiredForBro,
[SetDirSeparators('rtl/linux/system.pp')]); [GetForcedPathDelims('rtl/linux/system.pp')]);
ScanLabel.Caption := lisScanning; ScanLabel.Caption := lisScanning;
StopScanButton.Caption:=lisStop; StopScanButton.Caption:=lisStop;