Permalink
Browse files

updated for version 7.4.169

Problem:    ":sleep" puts cursor in the wrong column. (Liang Li)
Solution:   Add the window offset. (Christian Brabandt)
  • Loading branch information...
brammool committed Feb 5, 2014
1 parent 0854d0a commit e49f9ca3eb572f83735d57de872b237626ef5d2b
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/ex_docmd.c
  2. +2 −0 src/version.c
View
@@ -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
@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 169,
/**/
168,
/**/

0 comments on commit e49f9ca

Please sign in to comment.