From: Peter Hutterer Date: Mon, 29 Jul 2013 01:45:30 +0000 (+1000) Subject: Set the size for repeat delays based on REP_CNT X-Git-Tag: libevdev-0.3~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e795ea50996ad64d420e58bd6859af98560dd15;p=platform%2Fupstream%2Flibevdev.git Set the size for repeat delays based on REP_CNT Signed-off-by: Peter Hutterer Reviewed-by: Benjamin Tissoires --- diff --git a/libevdev/libevdev-int.h b/libevdev/libevdev-int.h index 34f8e05..a36be62 100644 --- a/libevdev/libevdev-int.h +++ b/libevdev/libevdev-int.h @@ -93,7 +93,7 @@ struct libevdev { unsigned int mt_slot_vals[MAX_SLOTS][ABS_MT_CNT]; int num_slots; /**< valid slots in mt_slot_vals */ int current_slot; - int rep_values[2]; + int rep_values[REP_CNT]; enum SyncState sync_state; int grabbed;