3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.371
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.371
3ef2ca
Problem:    When 'linebreak' is set control characters are not correctly
3ef2ca
	    displayed. (Kimmy Lindvall)
3ef2ca
Solution:   Set n_extra. (Christian Brabandt)
3ef2ca
Files:	    src/screen.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.370/src/screen.c	2014-07-09 20:20:40.359620108 +0200
3ef2ca
--- src/screen.c	2014-07-16 17:12:38.599557147 +0200
3ef2ca
***************
3ef2ca
*** 4646,4651 ****
3ef2ca
--- 4646,4653 ----
3ef2ca
  		else if (c != NUL)
3ef2ca
  		{
3ef2ca
  		    p_extra = transchar(c);
3ef2ca
+ 		    if (n_extra == 0)
3ef2ca
+ 			n_extra = byte2cells(c) - 1;
3ef2ca
  #ifdef FEAT_RIGHTLEFT
3ef2ca
  		    if ((dy_flags & DY_UHEX) && wp->w_p_rl)
3ef2ca
  			rl_mirror(p_extra);	/* reverse "<12>" */
3ef2ca
*** ../vim-7.4.370/src/version.c	2014-07-16 17:01:38.279570568 +0200
3ef2ca
--- src/version.c	2014-07-16 17:13:21.815556269 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     371,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
LETTERS TO THE EDITOR (The Times of London)
3ef2ca
3ef2ca
Dear Sir,
3ef2ca
3ef2ca
I am firmly opposed to the spread of microchips either to the home or
3ef2ca
to the office.  We have more than enough of them foisted upon us in
3ef2ca
public places.  They are a disgusting Americanism, and can only result
3ef2ca
in the farmers being forced to grow smaller potatoes, which in turn
3ef2ca
will cause massive unemployment in the already severely depressed
3ef2ca
agricultural industry.
3ef2ca
3ef2ca
Yours faithfully,
3ef2ca
        Capt. Quinton D'Arcy, J. P.
3ef2ca
        Sevenoaks
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    ///