mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 04:52:35 +02:00
project loading ignores unitnames for non units
git-svn-id: trunk@8642 -
This commit is contained in:
parent
2e6513b9ed
commit
cdba5bcbeb
@ -959,7 +959,8 @@ begin
|
||||
fSyntaxHighlighter:=StrToLazSyntaxHighlighter(XMLConfig.GetValue(
|
||||
Path+'SyntaxHighlighter/Value',''));
|
||||
fTopLine:=XMLConfig.GetValue(Path+'TopLine/Value',-1);
|
||||
UnitName:=XMLConfig.GetValue(Path+'UnitName/Value','');
|
||||
if FilenameIsPascalSource(Filename) then
|
||||
fUnitName:=XMLConfig.GetValue(Path+'UnitName/Value','');
|
||||
fUsageCount:=XMLConfig.GetValue(Path+'UsageCount/Value',-1);
|
||||
if fUsageCount<1 then begin
|
||||
UpdateUsageCount(uuIsLoaded,1);
|
||||
|
Loading…
Reference in New Issue
Block a user