0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.4.169

Problem:    ":sleep" puts cursor in the wrong column. (Liang Li)
Solution:   Add the window offset. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2014-02-05 22:46:52 +01:00
parent a1a118b159
commit 10395d8d6c
2 changed files with 3 additions and 1 deletions

View File

@@ -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;

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
169,
/**/
168,
/**/