diff options
Diffstat (limited to 'src/hyper/keyin.c')
-rw-r--r-- | src/hyper/keyin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hyper/keyin.c b/src/hyper/keyin.c index eef07e7b..fa8af8de 100644 --- a/src/hyper/keyin.c +++ b/src/hyper/keyin.c @@ -82,7 +82,7 @@ unsigned int UnsupportedModMask = LockMask | ControlMask static unsigned int get_modifier_mask(KeySym sym) { - unsigned int i, mask; + unsigned int mask; XModifierKeymap *mod; KeyCode kcode; const int masks[8] = { @@ -94,7 +94,7 @@ get_modifier_mask(KeySym sym) kcode = XKeysymToKeycode(gXDisplay,sym); if (mod) { - for (i = 0; i < (8 * mod->max_keypermod); i++){ + for (int i = 0; i < (8 * mod->max_keypermod); i++){ if (!mod->modifiermap[i]) continue; else if (kcode == mod->modifiermap[i]){ mask = masks[i / mod->max_keypermod]; |