aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-08-12 14:54:18 +0200
committerGitHub <noreply@github.com>2018-08-12 14:54:18 +0200
commitaddd181369abc7c0cf17da44808e7b74bc6c1987 (patch)
tree1748903d094967789ca82f91323e237034ad3348 /src/nvim/mbyte.c
parent1211fa09cfd30d6fcd15a897769586d39595a3e8 (diff)
parent09c2184660e6b958025954218272ec304e8951ba (diff)
downloadrneovim-addd181369abc7c0cf17da44808e7b74bc6c1987.tar.gz
rneovim-addd181369abc7c0cf17da44808e7b74bc6c1987.tar.bz2
rneovim-addd181369abc7c0cf17da44808e7b74bc6c1987.zip
Merge #8837 from janlazo/vim-8.0.1290
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index 7c196831ba..15fe51cad1 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -566,7 +566,9 @@ int utf_off2cells(unsigned off, unsigned max_off)
/// Convert a UTF-8 byte sequence to a wide character
///
/// If the sequence is illegal or truncated by a NUL then the first byte is
-/// returned. Does not include composing characters for obvious reasons.
+/// returned.
+/// For an overlong sequence this may return zero.
+/// Does not include composing characters for obvious reasons.
///
/// @param[in] p String to convert.
///