mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-23 13:41:32 +02:00
tachart: fix compiling for the coming TRect advanced functions in FPC 3.1.1 (see issue #29479)
git-svn-id: trunk@51383 -
This commit is contained in:
parent
95746a6ff5
commit
9f13b0b11a
@ -1018,7 +1018,7 @@ var
|
||||
with imageBar do begin
|
||||
TopLeft := ParentChart.GraphToImage(graphBar.a);
|
||||
BottomRight := ParentChart.GraphToImage(graphBar.b);
|
||||
NormalizeRect(imageBar);
|
||||
TAGeometry.NormalizeRect(imageBar);
|
||||
|
||||
// Draw a line instead of an empty rectangle.
|
||||
if Bottom = Top then Dec(Top);
|
||||
|
Loading…
Reference in New Issue
Block a user