mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 12:12:49 +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;
|
||||
begin
|
||||
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.
|
||||
if FMaxValue > FMinValue then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user