TFloatSpinEdit: fix a comment

git-svn-id: trunk@64973 -
This commit is contained in:
bart 2021-04-11 16:57:29 +00:00
parent 10281c7773
commit 07befbecb7

View File

@ -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