diff src/screen.c @ 2553:37d3f90f5203 vim73

Conceal feature caused the 'cursorline' highlighting to stop early.
author Bram Moolenaar <bram@vim.org>
date Fri, 13 Aug 2010 15:24:39 +0200
parents 6768ebd0bc04
children a03f7551bacc
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -4399,7 +4399,11 @@ win_line(wp, lnum, startrow, endrow, noc
 # ifdef FEAT_RIGHTLEFT
 			    wp->w_p_rl ? (col >= 0) :
 # endif
-			    (col < W_WIDTH(wp))))
+			    (col
+# ifdef FEAT_CONCEAL
+				- boguscols
+# endif
+					    < W_WIDTH(wp))))
 		{
 		    /* Highlight until the right side of the window */
 		    c = ' ';