diff src/search.c @ 557:862863033fdd v7.0158

updated for version 7.0158
author vimboss
date Wed, 23 Nov 2005 21:25:05 +0000
parents c6296b0ad9ea
children 2244be18d9e9
line wrap: on
line diff
--- a/src/search.c
+++ b/src/search.c
@@ -3550,7 +3550,7 @@ current_block(oap, count, include, what,
     {
 	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';