source/Platform/Win32/Win32Display.cpp: Tab indentation fix.
This commit is contained in:
parent
ba504c7efc
commit
c1cc476094
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue