diff src/eval.c @ 2963:1eb805225de7 v7.3.254

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.
author Bram Moolenaar <bram@vim.org>
date Fri, 15 Jul 2011 21:24:11 +0200
parents 512ddd87f1a8
children 02f5abca10ae
line wrap: on
line diff
--- 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,