lcl: use TPoint compare operator instead of field by field compare

git-svn-id: trunk@18856 -
This commit is contained in:
paul 2009-03-01 11:10:36 +00:00
parent b83050cf62
commit 603e73aca1

View File

@ -490,7 +490,7 @@ var
P : TPoint;
begin
P := Point;
if (Pt.X <> P.X) or (Pt.Y <> P.Y) then
if (Pt <> P) then
begin
Inc(Count);
ReallocMem(Points, SizeOf(TPoint) * Count);