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) {
|
if (value) {
|
||||||
RECT rect;
|
RECT rect;
|
||||||
GetClientRect(m_handle, &rect);
|
GetClientRect(m_handle, &rect);
|
||||||
MapWindowPoints(m_handle, NULL, reinterpret_cast<LPPOINT>(&rect), 2);
|
MapWindowPoints(m_handle, NULL, reinterpret_cast<LPPOINT>(&rect), 2);
|
||||||
ClipCursor(&rect);
|
ClipCursor(&rect);
|
||||||
} else {
|
} else {
|
||||||
ClipCursor(NULL);
|
ClipCursor(NULL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue