mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 16:13:56 +02:00
fixed compilation with fpc 2.1.1
git-svn-id: trunk@8683 -
This commit is contained in:
parent
be772ad31a
commit
0ecb485c10
@ -241,7 +241,7 @@ begin
|
||||
if (not (csDesigning in ComponentState)) and (FAssociate <> nil)
|
||||
then begin
|
||||
if Thousands
|
||||
then FAssociate.Text := FloatToStrF(FPosition, ffNumber, 0, 0)
|
||||
then FAssociate.Text := FloatToStrF(Single(FPosition), ffNumber, 0, 0)
|
||||
else FAssociate.Text := IntToStr(FPosition);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user