jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.489
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.489
3ef2ca
Problem:    Cursor movement still wrong when 'lbr' is set and there is a
3ef2ca
	    number column. (Hirohito Higashi)
3ef2ca
Solution:   Add correction for number column. (Hiroyuki Takagi)
3ef2ca
Files:	    src/charset.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.488/src/charset.c	2014-10-15 21:26:35.566082778 +0200
3ef2ca
--- src/charset.c	2014-10-31 12:39:41.815322421 +0100
3ef2ca
***************
3ef2ca
*** 1184,1189 ****
3ef2ca
--- 1184,1191 ----
3ef2ca
  	{
3ef2ca
  	    col -= W_WIDTH(wp);
3ef2ca
  	    numberextra = W_WIDTH(wp) - (numberextra - win_col_off2(wp));
3ef2ca
+ 	    if (numberextra > 0)
3ef2ca
+ 		col %= numberextra;
3ef2ca
  	    if (*p_sbr != NUL)
3ef2ca
  	    {
3ef2ca
  		colnr_T sbrlen = (colnr_T)MB_CHARLEN(p_sbr);
3ef2ca
*** ../vim-7.4.488/src/version.c	2014-10-22 22:08:58.386493141 +0200
3ef2ca
--- src/version.c	2014-10-31 12:37:38.439325394 +0100
3ef2ca
***************
3ef2ca
*** 743,744 ****
3ef2ca
--- 743,746 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     489,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
This is the polymorph virus!  Follow these instructions carefully:
3ef2ca
1. Send this message to everybody you know.
3ef2ca
2. Format your harddisk.
3ef2ca
Thank you for your cooperation in spreading the most powerful virus ever!
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    ///