changeset 486:8b1c1ae7af11

Fixed a typo in a previous patch
author Sam Lantinga <slouken@libsdl.org>
date Mon, 02 Sep 2002 16:02:17 +0000
parents ffa4ca907c67
children 414d77a36716
files src/video/windx5/SDL_dx5video.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/windx5/SDL_dx5video.c	Mon Sep 02 15:58:29 2002 +0000
+++ b/src/video/windx5/SDL_dx5video.c	Mon Sep 02 16:02:17 2002 +0000
@@ -1138,7 +1138,7 @@
 				y -= GetSystemMetrics(SM_CYCAPTION)/2;
 			}
 			swp_flags = (SWP_NOCOPYBITS | SWP_FRAMECHANGED | SWP_SHOWWINDOW);
-			if ( was_visible && (video->flags & SDL_FULLSCREEN) ) {
+			if ( was_visible && !(video->flags & SDL_FULLSCREEN) ) {
 				swp_flags |= SWP_NOMOVE;
 			}
 			if ( video->flags & SDL_FULLSCREEN ) {