mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 14:49:13 +02:00
IdeIntf: Use CompareText.
git-svn-id: trunk@56154 -
This commit is contained in:
parent
aa61ca7ed4
commit
a2b0762abd
@ -5359,7 +5359,7 @@ var
|
||||
begin
|
||||
Result := varempty;
|
||||
for I := Low(VarTypeStr) to High(VarTypeStr) do
|
||||
if UpperCase(VarTypeStr[I].Name) = UpperCase(AName) then
|
||||
if CompareText(VarTypeStr[I].Name, AName) = 0 then
|
||||
Exit(VarTypeStr[I].VarType);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user