mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
vim-patch:8.2.0156: various typos in source files and tests
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes vim/vim#5532)
4b96df5a01
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user