From 319386da3f9d7e732cfc95d866b26382003bc89f Mon Sep 17 00:00:00 2001 From: wp Date: Thu, 28 Feb 2019 13:24:17 +0000 Subject: [PATCH] TAChart: Fix compilation on Linux (broken by r60512 #6e6af28591). Patch by Lagunov Aleksey, issue #35167). git-svn-id: trunk@60532 - --- components/tachart/tadatapointseditor.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tachart/tadatapointseditor.pas b/components/tachart/tadatapointseditor.pas index b13cf57bbc..50b40b14c9 100644 --- a/components/tachart/tadatapointseditor.pas +++ b/components/tachart/tadatapointseditor.pas @@ -199,7 +199,7 @@ begin {$IFDEF WINDOWS} Width := Min(Screen.Width, w + 1 + IfThen(sgData.BorderStyle = bsNone, 0, 3)); {$ELSE} - Width := Min(Screen.Width, w + sgData.GridLinedWidth * (sgData.Columns.Count-1)); + Width := Min(Screen.Width, w + sgData.GridLineWidth * (sgData.Columns.Count-1)); {$ENDIF} end;