Fixed formatting SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sun, 24 Sep 2006 15:36:37 +0000
branchSDL-1.2
changeset 3879c82c1870c77a
parent 3878 678576473849
child 3880 74e828c64315
Fixed formatting
src/video/bwindow/SDL_sysmouse.cc
     1.1 --- a/src/video/bwindow/SDL_sysmouse.cc	Sun Sep 24 15:31:42 2006 +0000
     1.2 +++ b/src/video/bwindow/SDL_sysmouse.cc	Sun Sep 24 15:36:37 2006 +0000
     1.3 @@ -27,7 +27,7 @@
     1.4  #include "SDL_BWin.h"
     1.5  
     1.6  extern "C" {
     1.7 -#include "SDL_cursor_c.h"
     1.8 +#include "../SDL_cursor_c.h"
     1.9  #include "SDL_sysmouse_c.h"
    1.10  
    1.11  /* Convert bits to padded bytes */
    1.12 @@ -128,16 +128,17 @@
    1.13  /* Implementation by Christian Bauer <cbauer@student.physik.uni-mainz.de> */
    1.14  void BE_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
    1.15  {
    1.16 -	if (_this->screen && (_this->screen->flags & SDL_FULLSCREEN) ) {		
    1.17 +	if (_this->screen && (_this->screen->flags & SDL_FULLSCREEN)) {
    1.18  		SDL_PrivateMouseMotion(0, 0, x, y);
    1.19  	} else {
    1.20 -	BPoint pt(x, y);
    1.21 -	SDL_Win->Lock();
    1.22 -	SDL_Win->ConvertToScreen(&pt);
    1.23 -	SDL_Win->Unlock();
    1.24 -	set_mouse_position((int32)pt.x, (int32)pt.y);
    1.25 +		BPoint pt(x, y);
    1.26 +		SDL_Win->Lock();
    1.27 +		SDL_Win->ConvertToScreen(&pt);
    1.28 +		SDL_Win->Unlock();
    1.29 +		set_mouse_position((int32)pt.x, (int32)pt.y);
    1.30  	}
    1.31  }
    1.32 +
    1.33  /* Check to see if we need to enter or leave mouse relative mode */
    1.34  void BE_CheckMouseMode(_THIS)
    1.35  {