mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed bug 4841 - Misplaced parenthesis WIN_WindowProc / WM_ACTIVATE / ClipCursor
(Thanks!)
This commit is contained in:
parent
b7ab3b3984
commit
758badffa5
@ -507,7 +507,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||||||
WIN_ResetDeadKeys();
|
WIN_ResetDeadKeys();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GetClipCursor(&rect) && SDL_memcmp(&rect, &data->cursor_clipped_rect, sizeof(rect) == 0)) {
|
if (GetClipCursor(&rect) && SDL_memcmp(&rect, &data->cursor_clipped_rect, sizeof(rect)) == 0) {
|
||||||
ClipCursor(NULL);
|
ClipCursor(NULL);
|
||||||
SDL_zero(data->cursor_clipped_rect);
|
SDL_zero(data->cursor_clipped_rect);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user