mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-26 12:59:18 +01:00
Added some (harmlessly) missing braces.
This commit is contained in:
parent
7153c2dad1
commit
264eb4bbed
@ -474,11 +474,13 @@ SDL_WarpMouseInWindow(SDL_Window * window, int x, int y)
|
||||
{
|
||||
SDL_Mouse *mouse = SDL_GetMouse();
|
||||
|
||||
if ( window == NULL )
|
||||
if ( window == NULL ) {
|
||||
window = mouse->focus;
|
||||
}
|
||||
|
||||
if ( window == NULL )
|
||||
if ( window == NULL ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (mouse->WarpMouse) {
|
||||
mouse->WarpMouse(window, x, y);
|
||||
|
Loading…
Reference in New Issue
Block a user