Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed logic problem with SDL_RestoreWindow()
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 31, 2008
1 parent bd1d161 commit 2df03c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_video.c
Expand Up @@ -1142,7 +1142,7 @@ SDL_RestoreWindow(SDL_WindowID windowID)
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;
}

Expand Down

0 comments on commit 2df03c5

Please sign in to comment.