From c513cb625d78a58f2644be4664981d7f7409e5b8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 2 Sep 2002 16:02:17 +0000 Subject: [PATCH] Fixed a typo in a previous patch --- src/video/windx5/SDL_dx5video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/windx5/SDL_dx5video.c b/src/video/windx5/SDL_dx5video.c index 6166e957b..66af621c0 100644 --- a/src/video/windx5/SDL_dx5video.c +++ b/src/video/windx5/SDL_dx5video.c @@ -1138,7 +1138,7 @@ SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current, 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 ) {