summaryrefslogtreecommitdiff
path: root/src/xkbcomp/keymap.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-08-21 12:47:28 +0100
committerDaniel Stone <daniel@fooishbar.org>2012-09-10 19:23:35 +0100
commit74ec4c1c3fa9d7ff739013728d42ff06d72697c7 (patch)
tree3f6c5b9a0f025a12e9e17eccc3f20560df0a1f9c /src/xkbcomp/keymap.c
parent4b8ceae91f749aeb8e99e07444399f14c13c74dc (diff)
downloadlibxkbcommon-74ec4c1c3fa9d7ff739013728d42ff06d72697c7.tar.gz
libxkbcommon-74ec4c1c3fa9d7ff739013728d42ff06d72697c7.tar.bz2
libxkbcommon-74ec4c1c3fa9d7ff739013728d42ff06d72697c7.zip
kbproto unentanglement: XkbNumIndicators
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/xkbcomp/keymap.c')
-rw-r--r--src/xkbcomp/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/keymap.c b/src/xkbcomp/keymap.c
index 5c1de7a..6529921 100644
--- a/src/xkbcomp/keymap.c
+++ b/src/xkbcomp/keymap.c
@@ -246,7 +246,7 @@ UpdateDerivedKeymapFields(struct xkb_keymap *keymap)
}
/* Update vmod -> indicator maps. */
- for (led = 0; led < XkbNumIndicators; led++)
+ for (led = 0; led < XKB_NUM_INDICATORS; led++)
ComputeEffectiveMask(keymap, &keymap->indicators[led].mods);
/* Find maximum number of groups out of all keys in the keymap. */