]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-103 v7.1.103
authorBram Moolenaar <Bram@vim.org>
Thu, 13 Sep 2007 13:34:02 +0000 (13:34 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 13 Sep 2007 13:34:02 +0000 (13:34 +0000)
src/normal.c
src/version.c

index 62b5f8c8319276bc7c8a59709684238708a1f8ff..65f7773f8810b4e2097f524a31d9837303761d1d 100644 (file)
@@ -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;
index aa41f50e478c9bb2b295da1ae272f9de00158e84..bb8be8d2c1534144420cf5a44f7238d0b5e6602c 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    103,
 /**/
     102,
 /**/