Karsten Hopp a7d73c
To: vim_dev@googlegroups.com
Karsten Hopp a7d73c
Subject: Patch 7.3.884
Karsten Hopp a7d73c
Fcc: outbox
Karsten Hopp a7d73c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp a7d73c
Mime-Version: 1.0
Karsten Hopp a7d73c
Content-Type: text/plain; charset=UTF-8
Karsten Hopp a7d73c
Content-Transfer-Encoding: 8bit
Karsten Hopp a7d73c
------------
Karsten Hopp a7d73c
Karsten Hopp a7d73c
Patch 7.3.884
Karsten Hopp a7d73c
Problem:    Compiler warning for variable shadowing another. (John Little)
Karsten Hopp a7d73c
Solution:   Rename the variable. (Christian Brabandt)
Karsten Hopp a7d73c
Files:	    src/term.c
Karsten Hopp a7d73c
Karsten Hopp a7d73c
Karsten Hopp a7d73c
*** ../vim-7.3.883/src/term.c	2013-04-05 19:50:12.000000000 +0200
Karsten Hopp a7d73c
--- src/term.c	2013-04-06 13:27:59.000000000 +0200
Karsten Hopp a7d73c
***************
Karsten Hopp a7d73c
*** 4134,4151 ****
Karsten Hopp a7d73c
  		/* eat it when it has 2 arguments and ends in 'R' */
Karsten Hopp a7d73c
  		if (j == 1 && tp[i] == 'R')
Karsten Hopp a7d73c
  		{
Karsten Hopp a7d73c
! 		    char *p = NULL;
Karsten Hopp a7d73c
  
Karsten Hopp a7d73c
  		    u7_status = U7_GOT;
Karsten Hopp a7d73c
  # ifdef FEAT_AUTOCMD
Karsten Hopp a7d73c
  		    did_cursorhold = TRUE;
Karsten Hopp a7d73c
  # endif
Karsten Hopp a7d73c
  		    if (extra == 2)
Karsten Hopp a7d73c
! 			p = "single";
Karsten Hopp a7d73c
  		    else if (extra == 3)
Karsten Hopp a7d73c
! 			p = "double";
Karsten Hopp a7d73c
! 		    if (p != NULL)
Karsten Hopp a7d73c
! 			set_option_value((char_u *)"ambw", 0L, (char_u *)p, 0);
Karsten Hopp a7d73c
  		    key_name[0] = (int)KS_EXTRA;
Karsten Hopp a7d73c
  		    key_name[1] = (int)KE_IGNORE;
Karsten Hopp a7d73c
  		    slen = i + 1;
Karsten Hopp a7d73c
--- 4134,4151 ----
Karsten Hopp a7d73c
  		/* eat it when it has 2 arguments and ends in 'R' */
Karsten Hopp a7d73c
  		if (j == 1 && tp[i] == 'R')
Karsten Hopp a7d73c
  		{
Karsten Hopp a7d73c
! 		    char *aw = NULL;
Karsten Hopp a7d73c
  
Karsten Hopp a7d73c
  		    u7_status = U7_GOT;
Karsten Hopp a7d73c
  # ifdef FEAT_AUTOCMD
Karsten Hopp a7d73c
  		    did_cursorhold = TRUE;
Karsten Hopp a7d73c
  # endif
Karsten Hopp a7d73c
  		    if (extra == 2)
Karsten Hopp a7d73c
! 			aw = "single";
Karsten Hopp a7d73c
  		    else if (extra == 3)
Karsten Hopp a7d73c
! 			aw = "double";
Karsten Hopp a7d73c
! 		    if (aw != NULL)
Karsten Hopp a7d73c
! 			set_option_value((char_u *)"ambw", 0L, (char_u *)aw, 0);
Karsten Hopp a7d73c
  		    key_name[0] = (int)KS_EXTRA;
Karsten Hopp a7d73c
  		    key_name[1] = (int)KE_IGNORE;
Karsten Hopp a7d73c
  		    slen = i + 1;
Karsten Hopp a7d73c
*** ../vim-7.3.883/src/version.c	2013-04-06 14:28:56.000000000 +0200
Karsten Hopp a7d73c
--- src/version.c	2013-04-06 14:30:05.000000000 +0200
Karsten Hopp a7d73c
***************
Karsten Hopp a7d73c
*** 730,731 ****
Karsten Hopp a7d73c
--- 730,733 ----
Karsten Hopp a7d73c
  {   /* Add new patch number below this line */
Karsten Hopp a7d73c
+ /**/
Karsten Hopp a7d73c
+     884,
Karsten Hopp a7d73c
  /**/
Karsten Hopp a7d73c
Karsten Hopp a7d73c
-- 
Karsten Hopp a7d73c
Don't drink and drive.  You might hit a bump and spill your beer.
Karsten Hopp a7d73c
Karsten Hopp a7d73c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp a7d73c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp a7d73c
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp a7d73c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///