]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.254 v7.3.254
authorBram Moolenaar <Bram@vim.org>
Fri, 15 Jul 2011 19:24:11 +0000 (21:24 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 15 Jul 2011 19:24:11 +0000 (21:24 +0200)
Problem:    The coladd field is not reset when setting the line number for a
            ":call" command.
Solution:   Reset it.

src/eval.c
src/version.c

index 0ee5b7a0e9a4423946fce53e2c80644ced0d6b11..c29462480d2b5d6ae0e3c8550c50b87ee470be5e 100644 (file)
@@ -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,
index 94d71aedef67a03ef7bdb3f430d9a33bdbf0fc1f..276bccbf71c06359a4392221e8b9a6acec4c2f7d 100644 (file)
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    254,
 /**/
     253,
 /**/