summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-03-15 21:54:01 +0000
committerBram Moolenaar <Bram@vim.org>2007-03-15 21:54:01 +0000
commit49104e4038b2347692d15e1a3c30abdc4378f9cf (patch)
treec7cba275b5e404fc259e5e5f9db056fdbd11ced3
parentc432b5093714b8fd042ea5bee715dabf864701e3 (diff)
updated for version 7.0-218v7.0.218
-rw-r--r--src/buffer.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4049f711b6..020e7e5d82 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -3710,7 +3710,7 @@ build_stl_str_hl(wp, out, outlen, fmt, use_sandbox, fillchar, maxwidth, hltab, t
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
{
diff --git a/src/version.c b/src/version.c
index b248fc350d..84450a85ca 100644
--- 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,