mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:31:40 +02:00
LCL: write a piece of code in a shorter way.
git-svn-id: trunk@30260 -
This commit is contained in:
parent
1fbf4abaa6
commit
4d7d059433
@ -1359,10 +1359,7 @@ Begin
|
||||
Top := Top + dy;
|
||||
Bottom := Bottom + dy;
|
||||
end;
|
||||
if (ARect.Left >= 0) and (ARect.Top >= 0) then
|
||||
Result := True
|
||||
else
|
||||
Result := False;
|
||||
Result := (ARect.Left >= 0) and (ARect.Top >= 0);
|
||||
end;
|
||||
|
||||
procedure FreeThenNil(var obj);
|
||||
|
Loading…
Reference in New Issue
Block a user