mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-19 05:50:05 +01:00
codetools: fixed CompareAtom for atoms with same prefix, bug #13909
git-svn-id: trunk@20405 -
This commit is contained in:
parent
05136fc2e5
commit
40d77dcadc
@ -3440,7 +3440,12 @@ begin
|
||||
inc(p2);
|
||||
dec(l);
|
||||
end;
|
||||
Result:=0;
|
||||
if Len1>Len2 then
|
||||
Result:=1
|
||||
else if Len1<Len2 then
|
||||
Result:=-1
|
||||
else
|
||||
Result:=0;
|
||||
end;
|
||||
|
||||
function CompareStringConstants(p1, p2: PChar): integer;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user