summaryrefslogtreecommitdiffstats
path: root/src/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index a78f051c26..74398e39e8 100644
--- a/src/search.c
+++ b/src/search.c
@@ -3799,7 +3799,7 @@ current_block(oap, count, include, what, other)
if (VIsual_active)
{
if (*p_sel == 'e')
- ++curwin->w_cursor.col;
+ inc(&curwin->w_cursor);
if (sol && gchar_cursor() != NUL)
inc(&curwin->w_cursor); /* include the line break */
VIsual = start_pos;