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

updated for version 7.3.254

Problem:    The coladd field is not reset when setting the line number for a
            ":call" command.
Solution:   Reset it.
This commit is contained in:
Bram Moolenaar
2011-07-15 21:24:11 +02:00
parent 35ee452de0
commit 0acc5618f6
2 changed files with 5 additions and 0 deletions

View File

@@ -3430,6 +3430,9 @@ ex_call(eap)
{
curwin->w_cursor.lnum = lnum;
curwin->w_cursor.col = 0;
#ifdef FEAT_VIRTUALEDIT
curwin->w_cursor.coladd = 0;
#endif
}
arg = startarg;
if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg,

View File

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