summaryrefslogtreecommitdiff
path: root/src/xkbcomp/compat.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-11 14:05:49 +0200
committerRan Benita <ran234@gmail.com>2012-10-11 14:05:49 +0200
commitb6ddd105686aaa7accb63d5fe9c228cc4d7b1db0 (patch)
tree618516d9d1dbce5011b2cabd18f41b1b8f8e8330 /src/xkbcomp/compat.c
parente43f53a6986a1870bd75a58a82bde2fc957ed3f5 (diff)
downloadlibxkbcommon-b6ddd105686aaa7accb63d5fe9c228cc4d7b1db0.tar.gz
libxkbcommon-b6ddd105686aaa7accb63d5fe9c228cc4d7b1db0.tar.bz2
libxkbcommon-b6ddd105686aaa7accb63d5fe9c228cc4d7b1db0.zip
keymap: rename keymap->sym_interpret -> sym_interprets
This can be a bit confusing. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/compat.c')
-rw-r--r--src/xkbcomp/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkbcomp/compat.c b/src/xkbcomp/compat.c
index 176a4ef..8edd587 100644
--- a/src/xkbcomp/compat.c
+++ b/src/xkbcomp/compat.c
@@ -221,7 +221,7 @@
* ----------------
* After all of the xkb_compat sections have been compiled, the following
* members of struct xkb_keymap are finalized:
- * darray(struct xkb_sym_interpret) sym_interpret;
+ * darray(struct xkb_sym_interpret) sym_interprets;
* darray(struct xkb_indicator_map) indicators;
* char *compat_section_name;
* TODO: virtual modifiers.
@@ -997,7 +997,7 @@ CopyInterps(CompatInfo *info, bool needSymbol, enum xkb_match_operation pred)
(!needSymbol && si->interp.sym != XKB_KEY_NoSymbol))
continue;
- darray_append(info->keymap->sym_interpret, si->interp);
+ darray_append(info->keymap->sym_interprets, si->interp);
}
}