changeset 2699:cf95a2fd3606 gsoc2008_nds

indent
author Sam Lantinga <slouken@libsdl.org>
date Wed, 27 Aug 2008 13:44:02 +0000
parents e1da92da346c
children e2188009f029
files src/video/ipod/SDL_ipodvideo.c src/video/os2fslib/SDL_os2fslib.c src/video/photon/SDL_ph_gl.c
diffstat 3 files changed, 15 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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 */