changeset 3560:af083cb521bc v7.3.540

updated for version 7.3.540 Problem: Cursor is left on the text instead of the command line. Solution: Don't call setcursor() in command line mode.
author Bram Moolenaar <bram@vim.org>
date Wed, 06 Jun 2012 12:06:15 +0200
parents 772dcb4acf2c
children c384f4f5f238
files src/getchar.c src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -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)
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    540,
+/**/
     539,
 /**/
     538,