indent gsoc2008_nds
authorSam Lantinga <slouken@libsdl.org>
Wed, 27 Aug 2008 13:44:02 +0000
branchgsoc2008_nds
changeset 2699 cf95a2fd3606
parent 2698 e1da92da346c
child 4409 e2188009f029
indent
src/video/ipod/SDL_ipodvideo.c
src/video/os2fslib/SDL_os2fslib.c
src/video/photon/SDL_ph_gl.c
--- a/src/video/ipod/SDL_ipodvideo.c	Wed Aug 27 04:23:38 2008 +0000
+++ b/src/video/ipod/SDL_ipodvideo.c	Wed Aug 27 13:44:02 2008 +0000
@@ -777,8 +777,8 @@
                         ~(3 << (2 * (x % 4)));
                     ipod_scr[y * (lcd_width / 4) + x / 4] |=
                         (((Uint8 *) (SDL_VideoSurface->pixels))[y *
-                                                                SDL_VideoSurface->pitch
-                                                                +
+                                                                SDL_VideoSurface->
+                                                                pitch +
                                                                 x] & 3) << (2
                                                                             *
                                                                             (x
--- a/src/video/os2fslib/SDL_os2fslib.c	Wed Aug 27 04:23:38 2008 +0000
+++ b/src/video/os2fslib/SDL_os2fslib.c	Wed Aug 27 13:44:02 2008 +0000
@@ -2503,19 +2503,24 @@
                                        pModeInfoFound->uiXResolution,
                                        pModeInfoFound->uiYResolution,
                                        pModeInfoFound->uiBPP, ((unsigned int)
-                                                               pModeInfoFound->PixelFormat.ucRedMask)
+                                                               pModeInfoFound->
+                                                               PixelFormat.
+                                                               ucRedMask)
                                        << pModeInfoFound->PixelFormat.
                                        ucRedPosition, ((unsigned int)
                                                        pModeInfoFound->
-                                                       PixelFormat.ucGreenMask)
+                                                       PixelFormat.
+                                                       ucGreenMask)
                                        << pModeInfoFound->PixelFormat.
                                        ucGreenPosition, ((unsigned int)
                                                          pModeInfoFound->
-                                                         PixelFormat.ucBlueMask)
+                                                         PixelFormat.
+                                                         ucBlueMask)
                                        << pModeInfoFound->PixelFormat.
                                        ucBluePosition, ((unsigned int)
                                                         pModeInfoFound->
-                                                        PixelFormat.ucAlphaMask)
+                                                        PixelFormat.
+                                                        ucAlphaMask)
                                        << pModeInfoFound->PixelFormat.
                                        ucAlphaPosition);
 
--- a/src/video/photon/SDL_ph_gl.c	Wed Aug 27 04:23:38 2008 +0000
+++ b/src/video/photon/SDL_ph_gl.c	Wed Aug 27 13:44:02 2008 +0000
@@ -322,10 +322,10 @@
                                                      gl_config.accum_blue_size
                                                      +
                                                      this->
-                                                     gl_config.accum_green_size
-                                                     +
-                                                     this->
-                                                     gl_config.accum_alpha_size);
+                                                     gl_config.
+                                                     accum_green_size +
+                                                     this->gl_config.
+                                                     accum_alpha_size);
     }
 
     /* Stereo mode */