mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 13:19:28 +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+'''';
|
s:=s+' in '''+NewInFilename+'''';
|
||||||
if AFilename<>'' then begin
|
if AFilename<>'' then begin
|
||||||
// unit found
|
// unit found
|
||||||
if (NewUnitName<>OldUnitName) or (NewInFilename<>OldInFilename) then
|
if FixCase
|
||||||
|
and ((NewUnitName<>OldUnitName) or (NewInFilename<>OldInFilename)) then
|
||||||
begin
|
begin
|
||||||
// fix case
|
// fix case
|
||||||
FromPos:=UnitNameAtom.StartPos;
|
FromPos:=UnitNameAtom.StartPos;
|
||||||
|
Loading…
Reference in New Issue
Block a user