* fix for 1.1 compiler that doesn't support fixed16/32 anymore

git-svn-id: trunk@580 -
This commit is contained in:
peter 2002-01-06 21:42:13 +00:00
parent 05eb399fb1
commit 2ebf0146fd

View File

@ -1772,7 +1772,11 @@ end;
function TFloatPropertyEditor.GetValue: ansistring;
const
Precisions: array[TFloatType] of Integer = (7, 15, 19, 19, 19, 15, 31);
Precisions: array[TFloatType] of Integer = (7, 15, 19, 19, 19
{$ifdef VER1_0}
, 15, 31
{$endif VER1_0}
);
begin
Result := FloatToStrF(GetFloatValue, ffGeneral,
Precisions[GetTypeData(GetPropType)^.FloatType], 0);