mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 02:28:04 +02:00
IDE: initial setup: check Units
git-svn-id: trunk@57854 -
This commit is contained in:
parent
170943f2ab
commit
02331cb8e9
@ -320,7 +320,8 @@ var
|
||||
|
||||
function CheckPPU(const AnUnitName: string): boolean;
|
||||
begin
|
||||
if CompareFileExt(CfgCache.Units[AnUnitName],'ppu',false)<>0 then
|
||||
if (CfgCache.Units=nil)
|
||||
or (CompareFileExt(CfgCache.Units[AnUnitName],'ppu',false)<>0) then
|
||||
begin
|
||||
Note:=Format(lisPpuNotFoundCheckYourFpcCfg, [AnUnitName]);
|
||||
Result:=false;
|
||||
|
Loading…
Reference in New Issue
Block a user