56539bc
To: vim_dev@googlegroups.com
56539bc
Subject: Patch 7.4.169
56539bc
Fcc: outbox
56539bc
From: Bram Moolenaar <Bram@moolenaar.net>
56539bc
Mime-Version: 1.0
56539bc
Content-Type: text/plain; charset=UTF-8
56539bc
Content-Transfer-Encoding: 8bit
56539bc
------------
56539bc
56539bc
Patch 7.4.169
56539bc
Problem:    ":sleep" puts cursor in the wrong column. (Liang Li)
56539bc
Solution:   Add the window offset. (Christian Brabandt)
56539bc
Files:	    src/ex_docmd.c
56539bc
56539bc
56539bc
*** ../vim-7.4.168/src/ex_docmd.c	2014-01-10 15:53:09.000000000 +0100
56539bc
--- src/ex_docmd.c	2014-02-05 22:45:39.318586773 +0100
56539bc
***************
56539bc
*** 8371,8377 ****
56539bc
      {
56539bc
  	n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
56539bc
  	if (n >= 0)
56539bc
! 	    windgoto((int)n, curwin->w_wcol);
56539bc
      }
56539bc
  
56539bc
      len = eap->line2;
56539bc
--- 8371,8377 ----
56539bc
      {
56539bc
  	n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
56539bc
  	if (n >= 0)
56539bc
! 	    windgoto((int)n, W_WINCOL(curwin) + curwin->w_wcol);
56539bc
      }
56539bc
  
56539bc
      len = eap->line2;
56539bc
*** ../vim-7.4.168/src/version.c	2014-02-05 22:41:11.430582669 +0100
56539bc
--- src/version.c	2014-02-05 22:44:51.458586040 +0100
56539bc
***************
56539bc
*** 740,741 ****
56539bc
--- 740,743 ----
56539bc
  {   /* Add new patch number below this line */
56539bc
+ /**/
56539bc
+     169,
56539bc
  /**/
56539bc
56539bc
-- 
56539bc
ARTHUR: This new learning amazes me, Sir Bedevere.  Explain again how sheep's
56539bc
        bladders may be employed to prevent earthquakes.
56539bc
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
56539bc
56539bc
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
56539bc
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56539bc
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
56539bc
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///