diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-29 14:07:49 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-29 14:07:49 +1030 |
commit | 5adbc6b98ca1da9a426528ce0df64a992feff3bd (patch) | |
tree | 449e22ebba6ec69aed408da7734a95f26da13802 | |
parent | eeb3727004327bc4d83192a7956c1835b3bd6161 (diff) |
Initialise b_map_data to correct size. Bug #13991
X.Org Bug 13991 <http://bugs.freedesktop.org/show_bug.cgi?id=13991>
-rw-r--r-- | src/evdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.h b/src/evdev.h index 9d84843..2cdc5bc 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -110,7 +110,7 @@ typedef struct { int real_buttons; int buttons; int b_flags[BTN_MAX]; - void *b_map_data[ABS_MAX]; + void *b_map_data[BTN_MAX]; evdev_map_func_f b_map[BTN_MAX]; void (*callback[BTN_MAX])(InputInfoPtr pInfo, int button, int value); } evdevBtnRec, *evdevBtnPtr; |