src/events/SDL_windowevents.c
changeset 7191 75360622e65f
parent 7089 257fc4e541e1
child 7608 3f487d7d2d1d
     1.1 --- a/src/events/SDL_windowevents.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/src/events/SDL_windowevents.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -155,7 +155,7 @@
     1.4              return 0;
     1.5          }
     1.6          window->flags &= ~SDL_WINDOW_MOUSE_FOCUS;
     1.7 -		SDL_OnWindowLeave(window);
     1.8 +        SDL_OnWindowLeave(window);
     1.9          break;
    1.10      case SDL_WINDOWEVENT_FOCUS_GAINED:
    1.11          if (window->flags & SDL_WINDOW_INPUT_FOCUS) {
    1.12 @@ -196,13 +196,13 @@
    1.13  
    1.14          posted = (SDL_PushEvent(&event) > 0);
    1.15      }
    1.16 -	
    1.17 -	if (windowevent == SDL_WINDOWEVENT_CLOSE) {
    1.18 -		if ( !window->prev && !window->next ) {
    1.19 -			// This is the last window in the list so send the SDL_QUIT event
    1.20 -			SDL_SendQuit();
    1.21 -		}
    1.22 -	}
    1.23 +
    1.24 +    if (windowevent == SDL_WINDOWEVENT_CLOSE) {
    1.25 +        if ( !window->prev && !window->next ) {
    1.26 +            /* This is the last window in the list so send the SDL_QUIT event */
    1.27 +            SDL_SendQuit();
    1.28 +        }
    1.29 +    }
    1.30  
    1.31      return (posted);
    1.32  }