CalLite: Fix compilation with ancient Lazarus/FPC versions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8091 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
e16f58c7e3
commit
d227644719
@ -1401,7 +1401,7 @@ procedure TCalDrawer.SetBoundsRect(ARect: TRect);
|
|||||||
begin
|
begin
|
||||||
if SameRect(FBoundsRect, ARect) then exit;
|
if SameRect(FBoundsRect, ARect) then exit;
|
||||||
FBoundsRect := ARect;
|
FBoundsRect := ARect;
|
||||||
FBuffer.SetSize(FBoundsRect.Width, FBoundsRect.Height);
|
FBuffer.SetSize(FBoundsRect.Right-BoundsRect.Left, FBoundsRect.Bottom-BoundsRect.Top);
|
||||||
Draw;
|
Draw;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user