summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2014-02-05 22:46:52 +0100
committerBram Moolenaar <bram@vim.org>2014-02-05 22:46:52 +0100
commit818f2bdae3b152e575d36c30bf9ec8bbe1b228be (patch)
tree3d8428f37513e37b02f608d855df1cedd4b49d9d
parent1e436708a26d6a7ae34d979ab1a0090c87c3bc1f (diff)
downloadvim-818f2bdae3b152e575d36c30bf9ec8bbe1b228be.tar.gz
updated for version 7.4.169v7.4.169v7-4-169
Problem: ":sleep" puts cursor in the wrong column. (Liang Li) Solution: Add the window offset. (Christian Brabandt)
-rw-r--r--src/ex_docmd.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 17c5606e..315b1707 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -8371,7 +8371,7 @@ ex_sleep(eap)
{
n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
if (n >= 0)
- windgoto((int)n, curwin->w_wcol);
+ windgoto((int)n, W_WINCOL(curwin) + curwin->w_wcol);
}
len = eap->line2;
diff --git a/src/version.c b/src/version.c
index 8ebab00e..06ab7b42 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 169,
+/**/
168,
/**/
167,