mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 21:09:30 +02:00
CodeTools: Fix SIGSEGV introduced in r54438 #b823ce3277 (mantis #31561)
git-svn-id: trunk@54446 -
This commit is contained in:
parent
5b2322946b
commit
1ca4c2796a
@ -4000,7 +4000,7 @@ var
|
||||
UnitSet:=CodeToolBoss.GetUnitSetForDirectory('');
|
||||
if UnitSet<>nil then begin
|
||||
CfgCache:=UnitSet.GetConfigCache(false);
|
||||
if CfgCache.Includes.GetString(AFilename,ExpFilename) then begin
|
||||
if Assigned(CfgCache) and CfgCache.Includes.GetString(AFilename,ExpFilename) then begin
|
||||
NewCode:=LoadSourceCaseLoUp(ExpFilename);
|
||||
Result:=(NewCode<>nil);
|
||||
if Result then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user