T(Float)SpinEditEx: fix a comment

git-svn-id: trunk@64970 -
This commit is contained in:
bart 2021-04-11 16:40:23 +00:00
parent 5aa58ba7b8
commit b13a85dc22

View File

@ -361,7 +361,7 @@ end;
function TSpinEditExBase.GetLimitedValue(const AValue: T): T;
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