REVIEWED: Formating
This commit is contained in:
parent
3f8ef4e05f
commit
e17cf9ecd7
2 changed files with 10 additions and 5 deletions
|
@ -1785,7 +1785,10 @@ int GetCurrentMonitor(void)
|
|||
monitor = monitors[i];
|
||||
glfwGetMonitorWorkarea(monitor, &mx, &my, &width, &height);
|
||||
|
||||
if (x >= mx && x < (mx + width) && y >= my && y < (my + height))
|
||||
if ((x >= mx) &&
|
||||
(x < (mx + width)) &&
|
||||
(y >= my) &&
|
||||
(y < (my + height)))
|
||||
{
|
||||
index = i;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue