menu_get(): doc

This commit is contained in:
Justin M. Keyes
2017-07-28 02:31:03 +02:00
parent dc685387a3
commit 3b45f676c0
5 changed files with 48 additions and 47 deletions

View File

@@ -936,8 +936,7 @@ int utf_char2len(int c)
///
/// @param c character to convert to \p buf
/// @param[out] buf UTF-8 string generated from \p c, does not add \0
/// @return the number of bytes (between 1 and 6)
/// @note This does not include composing characters.
/// @return Number of bytes (1-6). Does not include composing characters.
int utf_char2bytes(int c, char_u *const buf)
{
if (c < 0x80) { /* 7 bits */