src/video/SDL_video.c
changeset 5480 55a687c55676
parent 5479 5c4635640bf9
child 5535 96594ac5fd1a
     1.1 --- a/src/video/SDL_video.c	Fri Mar 11 18:16:39 2011 -0800
     1.2 +++ b/src/video/SDL_video.c	Fri Mar 11 18:38:29 2011 -0800
     1.3 @@ -1885,7 +1885,7 @@
     1.4          _this->SetWindowGammaRamp(_this, window, window->gamma);
     1.5      }
     1.6  
     1.7 -    if ((window->flags & SDL_WINDOW_INPUT_GRABBED | SDL_WINDOW_FULLSCREEN) &&
     1.8 +    if ((window->flags & (SDL_WINDOW_INPUT_GRABBED | SDL_WINDOW_FULLSCREEN)) &&
     1.9          _this->SetWindowGrab) {
    1.10          _this->SetWindowGrab(_this, window);
    1.11      }
    1.12 @@ -1898,7 +1898,7 @@
    1.13          _this->SetWindowGammaRamp(_this, window, window->saved_gamma);
    1.14      }
    1.15  
    1.16 -    if ((window->flags & SDL_WINDOW_INPUT_GRABBED | SDL_WINDOW_FULLSCREEN) &&
    1.17 +    if ((window->flags & (SDL_WINDOW_INPUT_GRABBED | SDL_WINDOW_FULLSCREEN)) &&
    1.18          _this->SetWindowGrab) {
    1.19          _this->SetWindowGrab(_this, window);
    1.20      }