Skip to content

Commit e49f9ca

Browse files
committed
updated for version 7.4.169
Problem: ":sleep" puts cursor in the wrong column. (Liang Li) Solution: Add the window offset. (Christian Brabandt)
1 parent 0854d0a commit e49f9ca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/ex_docmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8371,7 +8371,7 @@ ex_sleep(eap)
83718371
{
83728372
n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
83738373
if (n >= 0)
8374-
windgoto((int)n, curwin->w_wcol);
8374+
windgoto((int)n, W_WINCOL(curwin) + curwin->w_wcol);
83758375
}
83768376

83778377
len = eap->line2;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
169,
741743
/**/
742744
168,
743745
/**/

0 commit comments

Comments
 (0)