Karsten Hopp 91e860
To: vim_dev@googlegroups.com
Karsten Hopp 91e860
Subject: Patch 7.4.671
Karsten Hopp 91e860
Fcc: outbox
Karsten Hopp 91e860
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 91e860
Mime-Version: 1.0
Karsten Hopp 91e860
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 91e860
Content-Transfer-Encoding: 8bit
Karsten Hopp 91e860
------------
Karsten Hopp 91e860
Karsten Hopp 91e860
Patch 7.4.671 (after 7.4.665)
Karsten Hopp 91e860
Problem:    Warning for shadowing a variable.
Karsten Hopp 91e860
Solution:   Rename off to mb_off. (Kazunobu Kuriyama)
Karsten Hopp 91e860
Files:	    src/screen.c
Karsten Hopp 91e860
Karsten Hopp 91e860
Karsten Hopp 91e860
*** ../vim-7.4.670/src/screen.c	2015-03-20 18:11:44.971196311 +0100
Karsten Hopp 91e860
--- src/screen.c	2015-03-21 14:16:32.063451426 +0100
Karsten Hopp 91e860
***************
Karsten Hopp 91e860
*** 4507,4517 ****
Karsten Hopp 91e860
  		if (wp->w_p_lbr && vim_isbreak(c) && !vim_isbreak(*ptr))
Karsten Hopp 91e860
  		{
Karsten Hopp 91e860
  # ifdef FEAT_MBYTE
Karsten Hopp 91e860
! 		    int off = has_mbyte ? (*mb_head_off)(line, ptr - 1) : 0;
Karsten Hopp 91e860
  # endif
Karsten Hopp 91e860
  		    char_u *p = ptr - (
Karsten Hopp 91e860
  # ifdef FEAT_MBYTE
Karsten Hopp 91e860
! 				off +
Karsten Hopp 91e860
  # endif
Karsten Hopp 91e860
  				1);
Karsten Hopp 91e860
  
Karsten Hopp 91e860
--- 4507,4517 ----
Karsten Hopp 91e860
  		if (wp->w_p_lbr && vim_isbreak(c) && !vim_isbreak(*ptr))
Karsten Hopp 91e860
  		{
Karsten Hopp 91e860
  # ifdef FEAT_MBYTE
Karsten Hopp 91e860
! 		    int mb_off = has_mbyte ? (*mb_head_off)(line, ptr - 1) : 0;
Karsten Hopp 91e860
  # endif
Karsten Hopp 91e860
  		    char_u *p = ptr - (
Karsten Hopp 91e860
  # ifdef FEAT_MBYTE
Karsten Hopp 91e860
! 				mb_off +
Karsten Hopp 91e860
  # endif
Karsten Hopp 91e860
  				1);
Karsten Hopp 91e860
  
Karsten Hopp 91e860
***************
Karsten Hopp 91e860
*** 4523,4529 ****
Karsten Hopp 91e860
  				       - vcol % (int)wp->w_buffer->b_p_ts - 1;
Karsten Hopp 91e860
  
Karsten Hopp 91e860
  # ifdef FEAT_MBYTE
Karsten Hopp 91e860
! 		    c_extra = off > 0 ? MB_FILLER_CHAR : ' ';
Karsten Hopp 91e860
  # else
Karsten Hopp 91e860
  		    c_extra = ' ';
Karsten Hopp 91e860
  # endif
Karsten Hopp 91e860
--- 4523,4529 ----
Karsten Hopp 91e860
  				       - vcol % (int)wp->w_buffer->b_p_ts - 1;
Karsten Hopp 91e860
  
Karsten Hopp 91e860
  # ifdef FEAT_MBYTE
Karsten Hopp 91e860
! 		    c_extra = mb_off > 0 ? MB_FILLER_CHAR : ' ';
Karsten Hopp 91e860
  # else
Karsten Hopp 91e860
  		    c_extra = ' ';
Karsten Hopp 91e860
  # endif
Karsten Hopp 91e860
*** ../vim-7.4.670/src/version.c	2015-03-20 19:06:01.986429778 +0100
Karsten Hopp 91e860
--- src/version.c	2015-03-21 14:19:33.461410898 +0100
Karsten Hopp 91e860
***************
Karsten Hopp 91e860
*** 743,744 ****
Karsten Hopp 91e860
--- 743,746 ----
Karsten Hopp 91e860
  {   /* Add new patch number below this line */
Karsten Hopp 91e860
+ /**/
Karsten Hopp 91e860
+     671,
Karsten Hopp 91e860
  /**/
Karsten Hopp 91e860
Karsten Hopp 91e860
-- 
Karsten Hopp 91e860
    f y cn rd ths thn y cn hv grt jb n cmptr prgrmmng
Karsten Hopp 91e860
Karsten Hopp 91e860
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 91e860
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 91e860
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 91e860
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///