codetools: fixed CompareAtom for atoms with same prefix, bug #13909

git-svn-id: trunk@20405 -
This commit is contained in:
mattias 2009-06-04 17:45:42 +00:00
parent 05136fc2e5
commit 40d77dcadc

View File

@ -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;