diff src/screen.c @ 1842:c1709e3f8536 v7.2.140

updated for version 7.2-140
author vimboss
date Wed, 11 Mar 2009 16:47:21 +0000
parents 3af28ecf9e56
children 823e9ddf23f7
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -3555,7 +3555,8 @@ win_line(wp, lnum, startrow, endrow, noc
 		/* Use line_attr when not in the Visual or 'incsearch' area
 		 * (area_attr may be 0 when "noinvcur" is set). */
 	    else if (line_attr != 0 && ((fromcol == -10 && tocol == MAXCOL)
-					|| (vcol < fromcol || vcol >= tocol)))
+				|| vcol < fromcol || vcol_prev < fromcol_prev
+				|| vcol >= tocol))
 		char_attr = line_attr;
 #endif
 	    else