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