diff src/video/SDL_video.c @ 2876:3fcb0d447bcd

indent
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 Dec 2008 07:19:55 +0000
parents 91a7e08cd238
children 9dde605c7540
line wrap: on
line diff
--- a/src/video/SDL_video.c	Wed Dec 17 07:17:54 2008 +0000
+++ b/src/video/SDL_video.c	Wed Dec 17 07:19:55 2008 +0000
@@ -123,7 +123,7 @@
 static SDL_VideoDevice *_this = NULL;
 
 /* Various local functions */
-static void SDL_UpdateWindowGrab(SDL_Window *window);
+static void SDL_UpdateWindowGrab(SDL_Window * window);
 
 static int
 cmpmodes(const void *A, const void *B)
@@ -1210,7 +1210,7 @@
 }
 
 static void
-SDL_UpdateWindowGrab(SDL_Window *window)
+SDL_UpdateWindowGrab(SDL_Window * window)
 {
     if ((window->flags & SDL_WINDOW_INPUT_FOCUS) && _this->SetWindowGrab) {
         _this->SetWindowGrab(_this, window);
@@ -1265,7 +1265,8 @@
     if (display->gamma && _this->SetDisplayGammaRamp) {
         _this->SetDisplayGammaRamp(_this, display->gamma);
     }
-    if ((window->flags & (SDL_WINDOW_INPUT_GRABBED|SDL_WINDOW_FULLSCREEN)) && _this->SetWindowGrab) {
+    if ((window->flags & (SDL_WINDOW_INPUT_GRABBED | SDL_WINDOW_FULLSCREEN))
+        && _this->SetWindowGrab) {
         _this->SetWindowGrab(_this, window);
     }
 }
@@ -1282,7 +1283,8 @@
     if (display->gamma && _this->SetDisplayGammaRamp) {
         _this->SetDisplayGammaRamp(_this, display->saved_gamma);
     }
-    if ((window->flags & (SDL_WINDOW_INPUT_GRABBED|SDL_WINDOW_FULLSCREEN)) && _this->SetWindowGrab) {
+    if ((window->flags & (SDL_WINDOW_INPUT_GRABBED | SDL_WINDOW_FULLSCREEN))
+        && _this->SetWindowGrab) {
         _this->SetWindowGrab(_this, window);
     }
 }