mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 06:56:15 +02:00
lcl: use TPoint compare operator instead of field by field compare
git-svn-id: trunk@18856 -
This commit is contained in:
parent
b83050cf62
commit
603e73aca1
@ -490,7 +490,7 @@ var
|
|||||||
P : TPoint;
|
P : TPoint;
|
||||||
begin
|
begin
|
||||||
P := Point;
|
P := Point;
|
||||||
if (Pt.X <> P.X) or (Pt.Y <> P.Y) then
|
if (Pt <> P) then
|
||||||
begin
|
begin
|
||||||
Inc(Count);
|
Inc(Count);
|
||||||
ReallocMem(Points, SizeOf(TPoint) * Count);
|
ReallocMem(Points, SizeOf(TPoint) * Count);
|
||||||
|
Loading…
Reference in New Issue
Block a user