mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 20:40:59 +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;
|
function TSpinEditExBase.GetLimitedValue(const AValue: T): T;
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user