Skip to content

Commit

Permalink
Merged SDL 1.3 revision 5424, fixing a crash in the joystick code on …
Browse files Browse the repository at this point in the history
…recent kernels.
  • Loading branch information
slouken committed Dec 17, 2009
1 parent 24f78c1 commit 105097d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/linux/SDL_sysjoystick.c
Expand Up @@ -700,7 +700,7 @@ static SDL_bool EV_ConfigJoystick(SDL_Joystick *joystick, int fd)
continue;
}
if ( test_bit(i, absbit) ) {
int values[5];
int values[6];

if ( ioctl(fd, EVIOCGABS(i), values) < 0 )
continue;
Expand Down

0 comments on commit 105097d

Please sign in to comment.