Added some (harmlessly) missing braces.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 05 Jun 2014 00:02:42 -0400
changeset 8944 045aac36daac
parent 8943 a743e8b89e72
child 8945 04248c700ada
Added some (harmlessly) missing braces.
src/events/SDL_mouse.c
--- a/src/events/SDL_mouse.c	Fri May 30 09:50:47 2014 -0400
+++ b/src/events/SDL_mouse.c	Thu Jun 05 00:02:42 2014 -0400
@@ -474,11 +474,13 @@
 {
     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);