]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.540 v7.3.540
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Jun 2012 10:06:15 +0000 (12:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Jun 2012 10:06:15 +0000 (12:06 +0200)
Problem:    Cursor is left on the text instead of the command line.
Solution:   Don't call setcursor() in command line mode.

src/getchar.c
src/version.c

index aea8d10da731b611c6a2721cf83aac1dee168156..c6d9492ebd4dbe8dbe78e7ae5a8d7d80f4c654d3 100644 (file)
@@ -2819,7 +2819,8 @@ vgetorpeek(advance)
                        edit_unputchar();
                    if (State & CMDLINE)
                        unputcmdline();
-                   setcursor();        /* put cursor back where it belongs */
+                   else
+                       setcursor();    /* put cursor back where it belongs */
                }
 
                if (c < 0)
index 9eecd6fa8a89724dae642ed9aeaf66c48103c289..a6b23f1d17c1e82d2de8babb318bb7734fa3b4ab 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    540,
 /**/
     539,
 /**/