Fixed a typo in a previous patch
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40487
This commit is contained in:
parent
82ab8e4d2d
commit
32e1f1bc86
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue