0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0-136

This commit is contained in:
Bram Moolenaar
2006-10-17 09:12:21 +00:00
parent 685295c3c4
commit e163f1cb99
2 changed files with 4 additions and 1 deletions

View File

@@ -2842,7 +2842,8 @@ changed_common(lnum, col, lnume, xtra)
#ifdef FEAT_AUTOCMD
/* when the cursor line is changed always trigger CursorMoved */
if (lnum <= curwin->w_cursor.lnum && lnume > curwin->w_cursor.lnum)
if (lnum <= curwin->w_cursor.lnum
&& lnume + (xtra < 0 ? -xtra : xtra) > curwin->w_cursor.lnum)
last_cursormoved.lnum = 0;
#endif
}

View File

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