Commit c62cde57f5938381f37065c8f0404e4612a31deb

David Herrmann 2014-08-24T09:09:14

keymap: fix description of xkb_keymap_key_get_syms_by_level() The @level argument is restricted by xkb_keymap_num_levels_for_key(). Fix the description to no longer mention xkb_keymap_num_layouts_for_key(). Signed-off-by: David Herrmann <dh.herrmann@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/xkbcommon/xkbcommon.h b/xkbcommon/xkbcommon.h
index 3f9fb6f..c012332 100644
--- a/xkbcommon/xkbcommon.h
+++ b/xkbcommon/xkbcommon.h
@@ -1045,7 +1045,7 @@ xkb_keymap_num_levels_for_key(struct xkb_keymap *keymap, xkb_keycode_t key,
  * @param[in] layout    The layout for which to get the keysyms.
  * @param[in] level     The shift level in the layout for which to get the
  * keysyms. This must be smaller than:
- * @code xkb_keymap_num_layouts_for_key(keymap, key) @endcode
+ * @code xkb_keymap_num_levels_for_key(keymap, key) @endcode
  * @param[out] syms_out An immutible array of keysyms corresponding to the
  * key in the given layout and shift level.
  *