summaryrefslogtreecommitdiff
path: root/src/xkbcomp/keymap.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-03-04 18:41:13 +0200
committerDaniel Stone <daniel@fooishbar.org>2013-03-18 22:20:06 +0000
commit57bfde3aff9b3a98f764a3bd3eeb924e299ae9b7 (patch)
treea9b29383fc9796bab92ba8e082c9eb5d1f29ee58 /src/xkbcomp/keymap.c
parent6a39a0657d868e62fe99b912c0201cf5986a12cc (diff)
downloadlibxkbcommon-57bfde3aff9b3a98f764a3bd3eeb924e299ae9b7.tar.gz
libxkbcommon-57bfde3aff9b3a98f764a3bd3eeb924e299ae9b7.tar.bz2
libxkbcommon-57bfde3aff9b3a98f764a3bd3eeb924e299ae9b7.zip
keymap: rename xkb_kt_map_entry to xkb_key_type_entry
That's a better name and fits more nicely. Also change type->map to type->entries. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/keymap.c')
-rw-r--r--src/xkbcomp/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkbcomp/keymap.c b/src/xkbcomp/keymap.c
index 6686948..5f4bfb6 100644
--- a/src/xkbcomp/keymap.c
+++ b/src/xkbcomp/keymap.c
@@ -201,8 +201,8 @@ UpdateDerivedKeymapFields(struct xkb_keymap *keymap)
ComputeEffectiveMask(keymap, &keymap->types[i].mods);
for (j = 0; j < keymap->types[i].num_entries; j++) {
- ComputeEffectiveMask(keymap, &keymap->types[i].map[j].mods);
- ComputeEffectiveMask(keymap, &keymap->types[i].map[j].preserve);
+ ComputeEffectiveMask(keymap, &keymap->types[i].entries[j].mods);
+ ComputeEffectiveMask(keymap, &keymap->types[i].entries[j].preserve);
}
}