summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMladen Milinkovic <maxrd2@smoothware.net>2022-02-24 10:48:50 +0100
committerRan Benita <ran@unusedvar.com>2022-02-24 12:43:20 +0200
commita2507c0866543542e1bf310ca27695d7b33c83a1 (patch)
tree10de817bf07199b3d44cc560abe3ca4ff49c1fef
parent9e7f3ba496e158f4cea1f41021ae6fd58e8424ff (diff)
downloadxorg-lib-libxkbcommon-a2507c0866543542e1bf310ca27695d7b33c83a1.tar.gz
Improve misleading comments #270
-rw-r--r--include/xkbcommon/xkbcommon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h
index f52dcfa..c2b099f 100644
--- a/include/xkbcommon/xkbcommon.h
+++ b/include/xkbcommon/xkbcommon.h
@@ -1201,7 +1201,8 @@ xkb_keymap_num_levels_for_key(struct xkb_keymap *keymap, xkb_keycode_t key,
* @code xkb_keymap_num_levels_for_key(keymap, key) @endcode
* @param[out] masks_out A buffer in which the requested masks should be
* stored.
- * @param[out] masks_size The size of the buffer pointed to by masks_out.
+ * @param[out] masks_size The number of elements in the buffer pointed to by
+ * masks_out.
*
* If @c layout is out of range for this key (that is, larger or equal to
* the value returned by xkb_keymap_num_layouts_for_key()), it is brought