diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-07-15 21:24:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-07-15 21:24:11 +0200 |
commit | 0acc5618f6954c6faf57032d6b4f611de4254acb (patch) | |
tree | 570d42f5d26e082342d04623b60b08f74a66d637 | |
parent | 35ee452de05a61ad4797166c3d37113a540f17f9 (diff) |
updated for version 7.3.254v7.3.254
Problem: The coladd field is not reset when setting the line number for a
":call" command.
Solution: Reset it.
-rw-r--r-- | src/eval.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c index 0ee5b7a0e9..c29462480d 100644 --- 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 index 94d71aedef..276bccbf71 100644 --- 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, |