mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 17:20:42 +02:00
TFloatSpinEdit: fix a comment
git-svn-id: trunk@64973 -
This commit is contained in:
parent
10281c7773
commit
07befbecb7
@ -190,7 +190,7 @@ end;
|
|||||||
function TCustomFloatSpinEdit.GetLimitedValue(const AValue: Double): Double;
|
function TCustomFloatSpinEdit.GetLimitedValue(const AValue: Double): Double;
|
||||||
begin
|
begin
|
||||||
Result := AValue;
|
Result := AValue;
|
||||||
//Delphi does not constrain when MinValue = MaxValue, and does if MaxValue > MinValue,
|
//Delphi does not constrain when MinValue = MaxValue, and does if MaxValue < MinValue,
|
||||||
//but the latter makes absolutely no sense at all.
|
//but the latter makes absolutely no sense at all.
|
||||||
if FMaxValue > FMinValue then
|
if FMaxValue > FMinValue then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user