aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--search.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/search.c b/search.c
index cfd339a6..31d26c36 100644
--- a/search.c
+++ b/search.c
@@ -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)