diff options
author | Ran Benita <ran234@gmail.com> | 2012-09-14 11:17:30 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2012-09-14 21:09:49 +0300 |
commit | c2570d51d1061146c6165b757af5125bb96b59d8 (patch) | |
tree | 9b1e234ccfa0aec1de2009c3dd5faf4997c372ee /src/xkbcomp/keymap.c | |
parent | 841f32230af7024dc6a8e254a9dc3304301022c9 (diff) | |
download | libxkbcommon-c2570d51d1061146c6165b757af5125bb96b59d8.tar.gz libxkbcommon-c2570d51d1061146c6165b757af5125bb96b59d8.tar.bz2 libxkbcommon-c2570d51d1061146c6165b757af5125bb96b59d8.zip |
state, map: constify references to xkb_key
Makes it clear that we treat the keys as immutible values in these
files.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/keymap.c')
-rw-r--r-- | src/xkbcomp/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/keymap.c b/src/xkbcomp/keymap.c index d71644d..59fea7a 100644 --- a/src/xkbcomp/keymap.c +++ b/src/xkbcomp/keymap.c @@ -178,7 +178,7 @@ ApplyInterpsToKey(struct xkb_keymap *keymap, struct xkb_key *key) return false; } - *XkbKeyActionEntry(key, group, level) = interp->act; + key->actions[group * key->width + level] = interp->act; } } } |