diff options
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index f4e8f611e3..85689fc1ae 100644 --- a/src/search.c +++ b/src/search.c @@ -3550,7 +3550,7 @@ current_block(oap, count, include, what, other) { if (*p_sel == 'e') ++curwin->w_cursor.col; - if (sol) + if (sol && gchar_cursor() != NUL) inc(&curwin->w_cursor); /* include the line break */ VIsual = start_pos; VIsual_mode = 'v'; |