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