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