073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.285
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.285
073263
Problem:    When 'relativenumber' is set and deleting lines or undoing that,
073263
	    line numbers are not always updated. (Robert Arkwright)
073263
Solution:   (Christian Brabandt)
073263
Files:	    src/misc1.c
073263
073263
073263
*** ../vim-7.4.284/src/misc1.c	2014-05-07 18:35:25.669216052 +0200
073263
--- src/misc1.c	2014-05-13 12:41:56.357568348 +0200
073263
***************
073263
*** 3125,3130 ****
073263
--- 3125,3133 ----
073263
  	    if (hasAnyFolding(wp))
073263
  		set_topline(wp, wp->w_topline);
073263
  #endif
073263
+ 	    /* relative numbering may require updating more */
073263
+ 	    if (wp->w_p_rnu)
073263
+ 		redraw_win_later(wp, SOME_VALID);
073263
  	}
073263
      }
073263
  
073263
*** ../vim-7.4.284/src/version.c	2014-05-13 12:16:44.037555110 +0200
073263
--- src/version.c	2014-05-13 12:33:21.553563842 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     285,
073263
  /**/
073263
073263
-- 
073263
hundred-and-one symptoms of being an internet addict:
073263
148. You find it easier to dial-up the National Weather Service
073263
     Weather/your_town/now.html than to simply look out the window.
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    ///