summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-11-23 21:25:05 +0000
committerBram Moolenaar <Bram@vim.org>2005-11-23 21:25:05 +0000
commita5792f58905da28f0ab37e1c4c3cfd8171b2e602 (patch)
tree258ddcfde89bbf98b90d42dd6c297e1b22a20d09 /src/search.c
parentaf289d333a2985051948a53d510fa345df1ddeb3 (diff)
downloadvim-git-a5792f58905da28f0ab37e1c4c3cfd8171b2e602.tar.gz
updated for version 7.0158v7.0158
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 f4e8f611e..85689fc1a 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';