mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 06:08:17 +02:00
lcl: fix MonitorFromPoint after the change in IntersectRect in fpc (issue #0017774)
git-svn-id: trunk@28458 -
This commit is contained in:
parent
89ae509848
commit
cad7df0fbd
@ -414,7 +414,7 @@ begin
|
||||
if MonitorHandle = MONITOR_UNIMPL then
|
||||
begin
|
||||
R.TopLeft := Point;
|
||||
R.BottomRight := Point;
|
||||
R.BottomRight := Types.Point(Point.X + 1, Point.Y + 1);
|
||||
Result := MonitorFromRect(R, MonitorDefault);
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user