commit | 0acc5618f6954c6faf57032d6b4f611de4254acb | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 15 21:24:11 2011 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 15 21:24:11 2011 +0200 |
tree | 570d42f5d26e082342d04623b60b08f74a66d637 | |
parent | 35ee452de05a61ad4797166c3d37113a540f17f9 [diff] [blame] |
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 index 0ee5b7a..c294624 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -3430,6 +3430,9 @@ { 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,