cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2319 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
e1c16b3744
Коммит
b680326c37
@ -280,7 +280,7 @@ bool is_whole_word(size_t pos, const char *buf, const char *word)
|
||||
* word isn't an alphanumeric character, and if we're at the end of
|
||||
* the line or the character after the word isn't an alphanumeric
|
||||
* character, we have a whole word. */
|
||||
retval = (pos < 1 || !is_alnum_mbchar(p)) &&
|
||||
retval = (pos == 0 || !is_alnum_mbchar(p)) &&
|
||||
(word_end == strlen(buf) || !is_alnum_mbchar(r));
|
||||
|
||||
free(p);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user