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:
@@ -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;
|
||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
42,
|
||||
/**/
|
||||
41,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user