0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.1-103

This commit is contained in:
Bram Moolenaar 2007-09-13 13:34:02 +00:00
parent 700d1d7036
commit a84b10685c
2 changed files with 3 additions and 1 deletions

View 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;

View File

@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
103,
/**/
102,
/**/