mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 12:29:25 +02:00
* fix Types.UnionRect as proposed by Piotr Karasinski, resolves #20006
git-svn-id: trunk@18246 -
This commit is contained in:
parent
09e7570e57
commit
3e4469937c
@ -386,7 +386,7 @@ begin
|
|||||||
if R2.Bottom>R1.Bottom then
|
if R2.Bottom>R1.Bottom then
|
||||||
lRect.Bottom:=R2.Bottom;
|
lRect.Bottom:=R2.Bottom;
|
||||||
|
|
||||||
if IsRectEmpty(Rect) then
|
if IsRectEmpty(lRect) then
|
||||||
begin
|
begin
|
||||||
FillChar(Rect,SizeOf(Rect),0);
|
FillChar(Rect,SizeOf(Rect),0);
|
||||||
UnionRect:=false;
|
UnionRect:=false;
|
||||||
|
Loading…
Reference in New Issue
Block a user