mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 05:58:14 +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;
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user