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