REVIEWED: Formating

This commit is contained in:
Ray 2023-05-15 11:30:31 +02:00
parent 3f8ef4e05f
commit e17cf9ecd7
2 changed files with 10 additions and 5 deletions

View file

@ -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;