summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-09-13 13:34:02 +0000
committerBram Moolenaar <Bram@vim.org>2007-09-13 13:34:02 +0000
commita84b10685c8f2c4cc1f7846fddae6b29bc4aee0f (patch)
treea6d80a44ba047c2e1c9fc88700a01dc9751b26b9
parent700d1d70363c6875aa07ffeeb5e0fbb7c4e2de35 (diff)
updated for version 7.1-103v7.1.103
-rw-r--r--src/normal.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 62b5f8c831..65f7773f88 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -8364,7 +8364,7 @@ nv_wordcmd(cap)
n = fwd_word(cap->count1, cap->arg, cap->oap->op_type != OP_NOP);
/* Don't leave the cursor on the NUL past a line */
- if (curwin->w_cursor.col && gchar_cursor() == NUL)
+ if (n != FAIL && curwin->w_cursor.col > 0 && gchar_cursor() == NUL)
{
--curwin->w_cursor.col;
cap->oap->inclusive = TRUE;
diff --git a/src/version.c b/src/version.c
index aa41f50e47..bb8be8d2c1 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 */
/**/
+ 103,
+/**/
102,
/**/
101,