changeset 1092:8531f7ee3662 v7.0.218

updated for version 7.0-218
author vimboss
date Thu, 15 Mar 2007 21:54:01 +0000
parents f9366d458bd0
children 23d23246742e
files src/buffer.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -3710,7 +3710,7 @@ build_stl_str_hl(wp, out, outlen, fmt, u
 	case STL_BYTEVAL_X:
 	    base = 'X';
 	case STL_BYTEVAL:
-	    if (((State & INSERT) && wp == curwin) || empty_line)
+	    if (wp->w_cursor.col > STRLEN(linecont))
 		num = 0;
 	    else
 	    {
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    218,
+/**/
     217,
 /**/
     216,