indent
authorSam Lantinga <slouken@libsdl.org>
Wed, 15 Aug 2007 03:50:49 +0000
changeset 2244 5234868559fa
parent 2243 5523312f311e
child 2245 989fb86ad1ec
indent
src/video/directfb/SDL_DirectFB_render.c
src/video/x11/SDL_x11opengl.c
--- a/src/video/directfb/SDL_DirectFB_render.c	Wed Aug 15 03:34:14 2007 +0000
+++ b/src/video/directfb/SDL_DirectFB_render.c	Wed Aug 15 03:50:49 2007 +0000
@@ -507,7 +507,7 @@
         (DirectFB_RenderData *) renderer->driverdata;
     DFBResult ret;
     Uint8 *dpixels;
-    int   dpitch;
+    int dpitch;
     Uint8 *src, *dst;
     int row;
     size_t length;
@@ -525,10 +525,10 @@
         src += pitch;
         dst += dpitch;
     }
-    SDL_DFB_CHECKERR(data->surface->Unlock(data->surface) );
+    SDL_DFB_CHECKERR(data->surface->Unlock(data->surface));
     return 0;
-error:
-	return 1;
+  error:
+    return 1;
 
 }
 
--- a/src/video/x11/SDL_x11opengl.c	Wed Aug 15 03:34:14 2007 +0000
+++ b/src/video/x11/SDL_x11opengl.c	Wed Aug 15 03:50:49 2007 +0000
@@ -89,10 +89,9 @@
     if (!handle) {
         return -1;
     }
-
     // LoadLibrary may be called before WindowCreate!
     X11_GL_Initialize(_this);
-    
+
     /* Load new function pointers */
     _this->gl_data->glXGetProcAddress =
         (void *(*)(const GLubyte *)) GL_LoadFunction(handle,