Skip to content

Commit

Permalink
Changed a ">" to ">="
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 3, 2012
1 parent ab99cc8 commit 429af18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/linux/SDL_sysjoystick.c
Expand Up @@ -1106,7 +1106,7 @@ static __inline__ void EV_HandleEvents(SDL_Joystick *joystick)
}
break;
case EV_ABS:
if (code > ABS_MISC) {
if (code >= ABS_MISC) {
break;
}
switch (code) {
Expand Down

0 comments on commit 429af18

Please sign in to comment.