diff src/video/directfb/SDL_DirectFB_mouse.c @ 3013:8cc00819c8d6

Reverted Bob's indent checkin
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Jan 2009 21:50:26 +0000
parents 8f4ed5ec2b06
children d72a0dd80e8b
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_mouse.c	Sat Jan 10 18:32:24 2009 +0000
+++ b/src/video/directfb/SDL_DirectFB_mouse.c	Sat Jan 10 21:50:26 2009 +0000
@@ -132,15 +132,14 @@
     dsc.height = surface->h;
     dsc.pixelformat = DSPF_ARGB;
 
-    SDL_DFB_CHECKERR(devdata->
-                     dfb->CreateSurface(devdata->dfb, &dsc, &curdata->surf));
+    SDL_DFB_CHECKERR(devdata->dfb->
+                     CreateSurface(devdata->dfb, &dsc, &curdata->surf));
     curdata->hotx = hot_x;
     curdata->hoty = hot_y;
     cursor->driverdata = curdata;
 
-    SDL_DFB_CHECKERR(curdata->
-                     surf->Lock(curdata->surf, DSLF_WRITE, (void *) &dest,
-                                &pitch));
+    SDL_DFB_CHECKERR(curdata->surf->
+                     Lock(curdata->surf, DSLF_WRITE, (void *) &dest, &pitch));
 
     /* Relies on the fact that this is only called with ARGB surface. */
     p = surface->pixels;
@@ -175,22 +174,21 @@
             DFB_WindowData *windata = (DFB_WindowData *) window->driverdata;
 
             if (cursor)
-                SDL_DFB_CHECKERR(windata->
-                                 window->SetCursorShape(windata->window,
-                                                        curdata->surf,
-                                                        curdata->hotx,
-                                                        curdata->hoty));
+                SDL_DFB_CHECKERR(windata->window->
+                                 SetCursorShape(windata->window,
+                                                curdata->surf, curdata->hotx,
+                                                curdata->hoty));
 
             /* fprintf(stdout, "Cursor is %s\n", cursor ? "on" : "off"); */
-            SDL_DFB_CHECKERR(dispdata->
-                             layer->SetCooperativeLevel(dispdata->layer,
-                                                        DLSCL_ADMINISTRATIVE));
-            SDL_DFB_CHECKERR(dispdata->
-                             layer->SetCursorOpacity(dispdata->layer,
-                                                     cursor ? 0xC0 : 0x00));
-            SDL_DFB_CHECKERR(dispdata->
-                             layer->SetCooperativeLevel(dispdata->layer,
-                                                        DLSCL_SHARED));
+            SDL_DFB_CHECKERR(dispdata->layer->
+                             SetCooperativeLevel(dispdata->layer,
+                                                 DLSCL_ADMINISTRATIVE));
+            SDL_DFB_CHECKERR(dispdata->layer->
+                             SetCursorOpacity(dispdata->layer,
+                                              cursor ? 0xC0 : 0x00));
+            SDL_DFB_CHECKERR(dispdata->layer->
+                             SetCooperativeLevel(dispdata->layer,
+                                                 DLSCL_SHARED));
         }
     }
 
@@ -229,8 +227,8 @@
     int cx, cy;
 
     SDL_DFB_CHECKERR(windata->window->GetPosition(windata->window, &cx, &cy));
-    SDL_DFB_CHECKERR(dispdata->
-                     layer->WarpCursor(dispdata->layer, cx + x, cy + y));
+    SDL_DFB_CHECKERR(dispdata->layer->
+                     WarpCursor(dispdata->layer, cx + x, cy + y));
 
   error:
     return;