Blame SOURCES/7.4.489

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.489
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.489
22c937
Problem:    Cursor movement still wrong when 'lbr' is set and there is a
22c937
	    number column. (Hirohito Higashi)
22c937
Solution:   Add correction for number column. (Hiroyuki Takagi)
22c937
Files:	    src/charset.c
22c937
22c937
22c937
*** ../vim-7.4.488/src/charset.c	2014-10-15 21:26:35.566082778 +0200
22c937
--- src/charset.c	2014-10-31 12:39:41.815322421 +0100
22c937
***************
22c937
*** 1184,1189 ****
22c937
--- 1184,1191 ----
22c937
  	{
22c937
  	    col -= W_WIDTH(wp);
22c937
  	    numberextra = W_WIDTH(wp) - (numberextra - win_col_off2(wp));
22c937
+ 	    if (numberextra > 0)
22c937
+ 		col %= numberextra;
22c937
  	    if (*p_sbr != NUL)
22c937
  	    {
22c937
  		colnr_T sbrlen = (colnr_T)MB_CHARLEN(p_sbr);
22c937
*** ../vim-7.4.488/src/version.c	2014-10-22 22:08:58.386493141 +0200
22c937
--- src/version.c	2014-10-31 12:37:38.439325394 +0100
22c937
***************
22c937
*** 743,744 ****
22c937
--- 743,746 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     489,
22c937
  /**/
22c937
22c937
-- 
22c937
This is the polymorph virus!  Follow these instructions carefully:
22c937
1. Send this message to everybody you know.
22c937
2. Format your harddisk.
22c937
Thank you for your cooperation in spreading the most powerful virus ever!
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///