Codetools: Identifier completion, don't use CompareIdentifiers for ParamList. ParamList contains symbols ";()". Found in issue

This commit is contained in:
Martin 2023-07-17 17:14:26 +02:00
parent ebad154bc6
commit c32f97c6c8

View File

@ -523,8 +523,7 @@ begin
if Result<>0 then exit;
//debugln('CompareIdentHistListItem ',Item2.Identifier,'=',Item1.Identifier);
Result:=CompareIdentifiers(PChar(Pointer(Item2.ParamList)),
PChar(Pointer(Item1.ParamList)));
Result:=CompareTextIgnoringSpace(Item2.ParamList,Item1.ParamList,false);
end;
function CompareIdentItemWithHistListItem(Data1, Data2: Pointer): integer;