1
0
Fork 0

source/Platform/Win32/Win32Display.cpp: Tab indentation fix.

This commit is contained in:
Henrik Hautakoski 2023-02-18 14:03:14 +01:00
parent ba504c7efc
commit c1cc476094

View file

@ -165,9 +165,9 @@ void Win32Display::grabCursor(bool value)
{
if (value) {
RECT rect;
GetClientRect(m_handle, &rect);
MapWindowPoints(m_handle, NULL, reinterpret_cast<LPPOINT>(&rect), 2);
ClipCursor(&rect);
GetClientRect(m_handle, &rect);
MapWindowPoints(m_handle, NULL, reinterpret_cast<LPPOINT>(&rect), 2);
ClipCursor(&rect);
} else {
ClipCursor(NULL);
}