TaChart: fixed compilation.

git-svn-id: trunk@41789 -
This commit is contained in:
zeljko 2013-06-22 09:06:49 +00:00
parent be2e51e512
commit e3f6e10c6b

View File

@ -426,12 +426,12 @@ var
// above approximately one million. // above approximately one million.
// So, split long polylines into segments. // So, split long polylines into segments.
function PolylineIsTooLong: Boolean; inline; function PolylineIsTooLong: Boolean; inline;
const
// There is a trade-off between the call overhead for short serment and // There is a trade-off between the call overhead for short serment and
// the above-mentioned inefficiency for long ones. // the above-mentioned inefficiency for long ones.
// First value was selected by some experiments as "optimal enough" for // First value was selected by some experiments as "optimal enough" for
// both affected platforms. // both affected platforms.
{$IF defined(LCLWIN32) or defined(LCLGTK2)} {$IF defined(LCLWIN32) or defined(LCLGTK2)}
const
MAX_LENGTH: array [Boolean] of Integer = (50000, 1000000); MAX_LENGTH: array [Boolean] of Integer = (50000, 1000000);
{$ENDIF} {$ENDIF}
begin begin