mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 09:18:20 +02:00
codetools: FindMissingUnit: FixCase fixed
git-svn-id: trunk@28901 -
This commit is contained in:
parent
27512bc4dd
commit
599efccf86
@ -1525,7 +1525,8 @@ function TStandardCodeTool.FindMissingUnits(var MissingUnits: TStrings;
|
||||
s:=s+' in '''+NewInFilename+'''';
|
||||
if AFilename<>'' then begin
|
||||
// unit found
|
||||
if (NewUnitName<>OldUnitName) or (NewInFilename<>OldInFilename) then
|
||||
if FixCase
|
||||
and ((NewUnitName<>OldUnitName) or (NewInFilename<>OldInFilename)) then
|
||||
begin
|
||||
// fix case
|
||||
FromPos:=UnitNameAtom.StartPos;
|
||||
|
Loading…
Reference in New Issue
Block a user