notaz.gp2x.de
/
sdl_omap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9504f6
)
Merged SDL 1.3 revision 5424, fixing a crash in the joystick code on recent kernels.
author
Sam Lantinga
<slouken@libsdl.org>
Thu, 17 Dec 2009 14:33:00 +0000
(14:33 +0000)
committer
notaz
<notasas@gmail.com>
Mon, 11 Mar 2013 21:15:33 +0000
(23:15 +0200)
src/joystick/linux/SDL_sysjoystick.c
patch
|
blob
|
blame
|
history
diff --git
a/src/joystick/linux/SDL_sysjoystick.c
b/src/joystick/linux/SDL_sysjoystick.c
index
0b09ffb
..
5960c84
100644
(file)
--- a/
src/joystick/linux/SDL_sysjoystick.c
+++ b/
src/joystick/linux/SDL_sysjoystick.c
@@
-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;