mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 22:20:24 +02:00
T(Float)SpinEditEx: fix a comment
git-svn-id: trunk@64970 -
This commit is contained in:
parent
5aa58ba7b8
commit
b13a85dc22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user