Skip to content

Commit c3d99f4

Browse files
committed
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.
1 parent cee4357 commit c3d99f4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/eval.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3430,6 +3430,9 @@ ex_call(eap)
34303430
{
34313431
curwin->w_cursor.lnum = lnum;
34323432
curwin->w_cursor.col = 0;
3433+
#ifdef FEAT_VIRTUALEDIT
3434+
curwin->w_cursor.coladd = 0;
3435+
#endif
34333436
}
34343437
arg = startarg;
34353438
if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg,

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,8 @@ static char *(features[]) =
709709

710710
static int included_patches[] =
711711
{ /* Add new patch number below this line */
712+
/**/
713+
254,
712714
/**/
713715
253,
714716
/**/

0 commit comments

Comments
 (0)