Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precedence of operation &,== #480

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Precedence of operation &,== #480

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 1.2
Reported for operating system, platform: All, All

Comments on the original bug report:

On 2009-05-08 07:14:04 +0000, fbz wrote:

file: http://svn.libsdl.org/branches/SDL-1.2/src/video/windx5/SDL_dx5events.c
revision: <=r4509
line: 298
function: post_mouse_motion
code:
if ( SDL_GetAppState() & (SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) ==
(SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) )

change to ==>:

if ( (SDL_GetAppState() & (SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS)) ==
(SDL_APPINPUTFOCUS|SDL_APPMOUSEFOCUS) )

Right?

On 2009-09-12 12:42:21 +0000, Ryan C. Gordon wrote:

Fixed in svn revision # 4716, thanks!

--ryan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant