# HG changeset patch # User Bram Moolenaar # Date 1310757851 -7200 # Node ID 1eb805225de7750c03af7b0f7ac2f5dd18d032be # Parent 5bd60baabee4706d92696d26c717b8457a9dce08 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. diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -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, diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -710,6 +710,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 254, +/**/ 253, /**/ 252,