diff --git a/src/text.c b/src/text.c index 5b2cc782..2c4a822d 100644 --- a/src/text.c +++ b/src/text.c @@ -2960,7 +2960,7 @@ void count_lines_words_and_characters(void) * incrementing the word count for each successful step. */ while (openfile->current->lineno < botline->lineno || (openfile->current == botline && openfile->current_x < bot_x)) { - if (do_next_word(FALSE, TRUE)) + if (do_next_word(FALSE, ISSET(WORD_BOUNDS))) words++; }