search: match_to_end_of_word: reset end_col when done with a row

This commit is contained in:
Daniel Eklöf 2019-12-03 20:26:32 +01:00
parent 0f98101bbc
commit a17ce10c03
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -314,6 +314,8 @@ search_match_to_end_of_word(struct terminal *term, bool spaces_only)
if (done)
break;
end_col = 0;
}
if (tll_length(new_chars) == 0)