diff options
author | Ran Benita <ran234@gmail.com> | 2014-02-07 17:29:34 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-02-07 17:29:34 +0200 |
commit | 2abff2a0988a3a87d900e76b05d5bddd64a50f73 (patch) | |
tree | 7d30b08001181d64121d7147be85959bfa3a24e5 /src/state.c | |
parent | ed18f7dde661e63528a12a63a32d2dceecec01bb (diff) | |
download | xorg-lib-libxkbcommon-2abff2a0988a3a87d900e76b05d5bddd64a50f73.tar.gz |
state: use the XKB_MOD_MASK constant
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index 768d47c..3f470b1 100644 --- a/src/state.c +++ b/src/state.c @@ -108,7 +108,7 @@ struct xkb_state { * < Left Shift down, Right Shift down, Left Shift Up > * the modifier should still be set. This keeps the count. */ - int16_t mod_key_count[sizeof(xkb_mod_mask_t) * 8]; + int16_t mod_key_count[XKB_MAX_MODS]; int refcnt; darray(struct xkb_filter) filters; |