Mercurial > sdl-ios-xcode
diff src/video/SDL_video.c @ 2934:1fcc36adc73d
Fixed logic problem with SDL_RestoreWindow()
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 31 Dec 2008 07:11:53 +0000 |
parents | e171ce9bdbad |
children | e4a469d6ddab |
line wrap: on
line diff
--- a/src/video/SDL_video.c Wed Dec 31 06:18:33 2008 +0000 +++ b/src/video/SDL_video.c Wed Dec 31 07:11:53 2008 +0000 @@ -1142,7 +1142,7 @@ SDL_Window *window = SDL_GetWindowFromID(windowID); if (!window - || (window->flags & (SDL_WINDOW_MAXIMIZED | SDL_WINDOW_MINIMIZED))) { + || !(window->flags & (SDL_WINDOW_MAXIMIZED | SDL_WINDOW_MINIMIZED))) { return; }