mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 16:19:46 +02:00
ide: fixed FindSourceFile fsfUseIncludePaths, patch by Domingo
This commit is contained in:
parent
0ac09485c6
commit
9ef9c85f35
@ -3145,7 +3145,7 @@ begin
|
||||
else
|
||||
SearchPath:=CodeToolBoss.GetIncludePathForDirectory(BaseDir);
|
||||
SearchPath:=TrimSearchPath(SearchPath,BaseDir);
|
||||
if SearchInPath(StartUnitPath,AFilename,Result) then exit;
|
||||
if SearchInPath(SearchPath,AFilename,Result) then exit;
|
||||
|
||||
if not(fsfSkipPackages in Flags) then begin
|
||||
// search include file in source directories of all required packages
|
||||
|
Loading…
Reference in New Issue
Block a user