diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-21 08:02:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 08:02:45 +0800 |
commit | 726ec7fb17aa8a86b1c2c9adc4c6abfcb350d3a7 (patch) | |
tree | 3e5715551c6e61d75ae8efe1a91cac17e4e089c8 /src/nvim/charset.c | |
parent | aeb390e28f6346009c5a67a9ea79161bc1e62dda (diff) | |
parent | dcefd48c1b7023bb1dce25bf9f6cfce47edbe993 (diff) | |
download | rneovim-726ec7fb17aa8a86b1c2c9adc4c6abfcb350d3a7.tar.gz rneovim-726ec7fb17aa8a86b1c2c9adc4c6abfcb350d3a7.tar.bz2 rneovim-726ec7fb17aa8a86b1c2c9adc4c6abfcb350d3a7.zip |
Merge pull request #17403 from zeertzjq/vim-8.1.1955
vim-patch:8.1.{1846,1955},8.2.0156
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r-- | src/nvim/charset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c index 583a040ed1..f4882e57e1 100644 --- a/src/nvim/charset.c +++ b/src/nvim/charset.c @@ -1439,7 +1439,7 @@ bool vim_isblankline(char_u *lbuf) /// @param unptr Returns the unsigned result. /// @param maxlen Max length of string to check. /// @param strict If true, fail if the number has unexpected trailing -/// alpha-numeric chars: *len is set to 0 and nothing else is +/// alphanumeric chars: *len is set to 0 and nothing else is /// returned. void vim_str2nr(const char_u *const start, int *const prep, int *const len, const int what, varnumber_T *const nptr, uvarnumber_T *const unptr, const int maxlen, @@ -1585,7 +1585,7 @@ vim_str2nr_hex: #undef PARSE_NUMBER vim_str2nr_proceed: - // Check for an alpha-numeric character immediately following, that is + // Check for an alphanumeric character immediately following, that is // most likely a typo. if (strict && ptr - (const char *)start != maxlen && ASCII_ISALNUM(*ptr)) { return; |