From: Bram Moolenaar Date: Thu, 13 Sep 2007 13:34:02 +0000 (+0000) Subject: updated for version 7.1-103 X-Git-Tag: v7.1.103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a84b10685c8f2c4cc1f7846fddae6b29bc4aee0f;p=vim updated for version 7.1-103 --- diff --git a/src/normal.c b/src/normal.c index 62b5f8c83..65f7773f8 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 aa41f50e4..bb8be8d2c 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 103, /**/ 102, /**/