diff src/screen.c @ 2364:151b037b7e74 vim73

Fix hang when resizing in diff mode and there are concealed items.
author Bram Moolenaar <bram@vim.org>
date Tue, 20 Jul 2010 22:33:34 +0200
parents 496feb41b83f
children a96dd77ce213
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -4055,6 +4055,12 @@ win_line(wp, lnum, startrow, endrow, noc
 			char_attr = syntax_attr;
 		    else
 			char_attr = hl_combine_attr(syntax_attr, char_attr);
+# ifdef FEAT_CONCEAL
+		    /* no concealing past the end of the line, it interferes
+		     * with line highlighting */
+		    if (c == NUL)
+			syntax_flags = 0;
+# endif
 		}
 #endif