]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.169 v7.4.169
authorBram Moolenaar <Bram@vim.org>
Wed, 5 Feb 2014 21:46:52 +0000 (22:46 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 5 Feb 2014 21:46:52 +0000 (22:46 +0100)
Problem:    ":sleep" puts cursor in the wrong column. (Liang Li)
Solution:   Add the window offset. (Christian Brabandt)

src/ex_docmd.c
src/version.c

index 17c5606e6d83db78798e688e2a61da17f1dd5a3e..315b170767e8c53e0fcf683a9458f0bcc9b11d16 100644 (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;
index 8ebab00ef0ad90699ccef9a4a2b7748a20b9798e..06ab7b425f76c9144695664168e3a41fd60976c4 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    169,
 /**/
     168,
 /**/