Skip to content

Commit

Permalink
Fixed a typo in a previous patch
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 2, 2002
1 parent 61d0351 commit c513cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/windx5/SDL_dx5video.c
Expand Up @@ -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 ) {
Expand Down

0 comments on commit c513cb6

Please sign in to comment.