Added some (harmlessly) missing braces.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 05 Jun 2014 00:02:42 -0400
changeset 8944045aac36daac
parent 8943 a743e8b89e72
child 8945 04248c700ada
Added some (harmlessly) missing braces.
src/events/SDL_mouse.c
     1.1 --- a/src/events/SDL_mouse.c	Fri May 30 09:50:47 2014 -0400
     1.2 +++ b/src/events/SDL_mouse.c	Thu Jun 05 00:02:42 2014 -0400
     1.3 @@ -474,11 +474,13 @@
     1.4  {
     1.5      SDL_Mouse *mouse = SDL_GetMouse();
     1.6  
     1.7 -    if ( window == NULL )
     1.8 +    if ( window == NULL ) {
     1.9          window = mouse->focus;
    1.10 +    }
    1.11  
    1.12 -    if ( window == NULL )
    1.13 +    if ( window == NULL ) {
    1.14          return;
    1.15 +    }
    1.16  
    1.17      if (mouse->WarpMouse) {
    1.18          mouse->WarpMouse(window, x, y);