Karsten Hopp 2c226d
To: vim_dev@googlegroups.com
Karsten Hopp 2c226d
Subject: Patch 7.4.371
Karsten Hopp 2c226d
Fcc: outbox
Karsten Hopp 2c226d
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2c226d
Mime-Version: 1.0
Karsten Hopp 2c226d
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 2c226d
Content-Transfer-Encoding: 8bit
Karsten Hopp 2c226d
------------
Karsten Hopp 2c226d
Karsten Hopp 2c226d
Patch 7.4.371
Karsten Hopp 2c226d
Problem:    When 'linebreak' is set control characters are not correctly
Karsten Hopp 2c226d
	    displayed. (Kimmy Lindvall)
Karsten Hopp 2c226d
Solution:   Set n_extra. (Christian Brabandt)
Karsten Hopp 2c226d
Files:	    src/screen.c
Karsten Hopp 2c226d
Karsten Hopp 2c226d
Karsten Hopp 2c226d
*** ../vim-7.4.370/src/screen.c	2014-07-09 20:20:40.359620108 +0200
Karsten Hopp 2c226d
--- src/screen.c	2014-07-16 17:12:38.599557147 +0200
Karsten Hopp 2c226d
***************
Karsten Hopp 2c226d
*** 4646,4651 ****
Karsten Hopp 2c226d
--- 4646,4653 ----
Karsten Hopp 2c226d
  		else if (c != NUL)
Karsten Hopp 2c226d
  		{
Karsten Hopp 2c226d
  		    p_extra = transchar(c);
Karsten Hopp 2c226d
+ 		    if (n_extra == 0)
Karsten Hopp 2c226d
+ 			n_extra = byte2cells(c) - 1;
Karsten Hopp 2c226d
  #ifdef FEAT_RIGHTLEFT
Karsten Hopp 2c226d
  		    if ((dy_flags & DY_UHEX) && wp->w_p_rl)
Karsten Hopp 2c226d
  			rl_mirror(p_extra);	/* reverse "<12>" */
Karsten Hopp 2c226d
*** ../vim-7.4.370/src/version.c	2014-07-16 17:01:38.279570568 +0200
Karsten Hopp 2c226d
--- src/version.c	2014-07-16 17:13:21.815556269 +0200
Karsten Hopp 2c226d
***************
Karsten Hopp 2c226d
*** 736,737 ****
Karsten Hopp 2c226d
--- 736,739 ----
Karsten Hopp 2c226d
  {   /* Add new patch number below this line */
Karsten Hopp 2c226d
+ /**/
Karsten Hopp 2c226d
+     371,
Karsten Hopp 2c226d
  /**/
Karsten Hopp 2c226d
Karsten Hopp 2c226d
-- 
Karsten Hopp 2c226d
LETTERS TO THE EDITOR (The Times of London)
Karsten Hopp 2c226d
Karsten Hopp 2c226d
Dear Sir,
Karsten Hopp 2c226d
Karsten Hopp 2c226d
I am firmly opposed to the spread of microchips either to the home or
Karsten Hopp 2c226d
to the office.  We have more than enough of them foisted upon us in
Karsten Hopp 2c226d
public places.  They are a disgusting Americanism, and can only result
Karsten Hopp 2c226d
in the farmers being forced to grow smaller potatoes, which in turn
Karsten Hopp 2c226d
will cause massive unemployment in the already severely depressed
Karsten Hopp 2c226d
agricultural industry.
Karsten Hopp 2c226d
Karsten Hopp 2c226d
Yours faithfully,
Karsten Hopp 2c226d
        Capt. Quinton D'Arcy, J. P.
Karsten Hopp 2c226d
        Sevenoaks
Karsten Hopp 2c226d
Karsten Hopp 2c226d
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2c226d
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2c226d
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 2c226d
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///