aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-02-06 12:30:02 +0100
committerGitHub <noreply@github.com>2024-02-06 19:30:02 +0800
commit63b810c9d8543bfcbee0367554e97cb97d1c14e6 (patch)
tree9cc25c042a40422ba133384c1b55dad5201cf253 /src/nvim/mbyte.c
parent9a761019da05fbdb546f6e81e294612be217ca12 (diff)
downloadrneovim-63b810c9d8543bfcbee0367554e97cb97d1c14e6.tar.gz
rneovim-63b810c9d8543bfcbee0367554e97cb97d1c14e6.tar.bz2
rneovim-63b810c9d8543bfcbee0367554e97cb97d1c14e6.zip
docs: small fixes (#27213)
Co-authored-by: Matthieu Coudron <886074+teto@users.noreply.github.com>
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index b1f7b59b21..c0ba1d9e9b 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -534,7 +534,7 @@ int utf_ptr2cells(const char *p)
/// @param[in] p String to convert.
/// @param[in] len Length of the character in bytes, 0 or 1 if illegal.
///
-/// @return Unicode codepoint. A negative value When the sequence is illegal.
+/// @return Unicode codepoint. A negative value when the sequence is illegal.
int32_t utf_ptr2CharInfo_impl(uint8_t const *p, uintptr_t const len)
FUNC_ATTR_PURE FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT
{