diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-31 04:56:09 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-31 04:56:09 +0000 |
commit | 12f9bb89464b8685cdd46dfbaa9858b66fe36c7f (patch) | |
tree | cc85c9afdbce68e3b214acaba31ae167faac40b7 /input | |
parent | b4c74fb28e7012d2c682896418e5ee573e3614f7 (diff) | |
download | mpv-12f9bb89464b8685cdd46dfbaa9858b66fe36c7f.tar.bz2 mpv-12f9bb89464b8685cdd46dfbaa9858b66fe36c7f.tar.xz |
prevent overflow.. wtf?! from irc:
<@tcsetattr> how many dimensions can people have in a joystick? do you
travel to other universes with that thing?
[apparently more than 10...?!]
(reported on irc by DrewZzz)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18006 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/joystick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/joystick.c b/input/joystick.c index 0ddbb70e37..d9d807b60f 100644 --- a/input/joystick.c +++ b/input/joystick.c @@ -30,7 +30,7 @@ #include <linux/joystick.h> -int axis[10]; +int axis[256]; int btns = 0; int mp_input_joystick_init(char* dev) { |