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

updated for version 7.0-042

This commit is contained in:
Bram Moolenaar
2006-07-23 20:37:09 +00:00
parent bde3526983
commit 12dec75f71
2 changed files with 9 additions and 0 deletions

View File

@@ -3493,8 +3493,15 @@ do_put(regname, dir, count, flags)
# endif
if (flags & PUT_CURSEND)
{
colnr_T len;
curwin->w_cursor = curbuf->b_op_end;
curwin->w_cursor.col++;
/* in Insert mode we might be after the NUL, correct for that */
len = (colnr_T)STRLEN(ml_get_curline());
if (curwin->w_cursor.col > len)
curwin->w_cursor.col = len;
}
else
curwin->w_cursor.lnum = lnum;

View File

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