Skip to content
Permalink
Browse files

Put some extra parentheses around some logic, to clarify order of ope…

…rations.

  Fixes Bugzilla #740.
  • Loading branch information
icculus committed Sep 12, 2009
1 parent 196b0da commit a3d27d0dcd2190af0bd486a89d3eb5c392be8257
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/windx5/SDL_dx5events.c
@@ -295,7 +295,7 @@ static void post_mouse_motion(int relative, Sint16 x, Sint16 y)
{
extern int mouse_relative;

if ( SDL_GetAppState() & (SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) ==
if ( (SDL_GetAppState() & (SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS)) ==
(SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) ) {
posted = SDL_PrivateMouseMotion(
0, relative, x, y);

0 comments on commit a3d27d0

Please sign in to comment.