Fixed a typo in a previous patch
authorSam Lantinga <slouken@libsdl.org>
Mon, 02 Sep 2002 16:02:17 +0000
changeset 4868b1c1ae7af11
parent 485 ffa4ca907c67
child 487 414d77a36716
Fixed a typo in a previous patch
src/video/windx5/SDL_dx5video.c
     1.1 --- a/src/video/windx5/SDL_dx5video.c	Mon Sep 02 15:58:29 2002 +0000
     1.2 +++ b/src/video/windx5/SDL_dx5video.c	Mon Sep 02 16:02:17 2002 +0000
     1.3 @@ -1138,7 +1138,7 @@
     1.4  				y -= GetSystemMetrics(SM_CYCAPTION)/2;
     1.5  			}
     1.6  			swp_flags = (SWP_NOCOPYBITS | SWP_FRAMECHANGED | SWP_SHOWWINDOW);
     1.7 -			if ( was_visible && (video->flags & SDL_FULLSCREEN) ) {
     1.8 +			if ( was_visible && !(video->flags & SDL_FULLSCREEN) ) {
     1.9  				swp_flags |= SWP_NOMOVE;
    1.10  			}
    1.11  			if ( video->flags & SDL_FULLSCREEN ) {