summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-06 12:06:15 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-06 12:06:15 +0200
commitbc256d91eadb8f32d6a5833c1878684d3c75fb2d (patch)
tree08103477dabc9e0286af65479aca7d0fc7b08f4d /src
parent64fdf5ceae75d85e139a0d3812e0544f5bf6cb56 (diff)
downloadvim-git-bc256d91eadb8f32d6a5833c1878684d3c75fb2d.tar.gz
updated for version 7.3.540v7.3.540
Problem: Cursor is left on the text instead of the command line. Solution: Don't call setcursor() in command line mode.
Diffstat (limited to 'src')
-rw-r--r--src/getchar.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index aea8d10da..c6d9492eb 100644
--- 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)
diff --git a/src/version.c b/src/version.c
index 9eecd6fa8..a6b23f1d1 100644
--- 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,