Blame SOURCES/7.4.571

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.571
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.571 (after 7.4.569)
22c937
Problem:    Can't build with tiny features. (Ike Devolder)
22c937
Solution:   Add #ifdef.
22c937
Files:	    src/getchar.c
22c937
22c937
22c937
*** ../vim-7.4.570/src/getchar.c	2015-01-14 12:44:38.403422124 +0100
22c937
--- src/getchar.c	2015-01-14 14:06:14.457992406 +0100
22c937
***************
22c937
*** 3710,3718 ****
22c937
--- 3710,3720 ----
22c937
  	else if (*keys == Ctrl_C)
22c937
  	{
22c937
  	    /* If CTRL-C has been unmapped, reuse it for Interrupting. */
22c937
+ #ifdef FEAT_LOCALMAP
22c937
  	    if (map_table == curbuf->b_maphash)
22c937
  		curbuf->b_mapped_ctrl_c &= ~mode;
22c937
  	    else
22c937
+ #endif
22c937
  		mapped_ctrl_c &= ~mode;
22c937
  	}
22c937
  	goto theend;
22c937
***************
22c937
*** 3750,3758 ****
22c937
--- 3752,3762 ----
22c937
      /* If CTRL-C has been mapped, don't always use it for Interrupting. */
22c937
      if (*keys == Ctrl_C)
22c937
      {
22c937
+ #ifdef FEAT_LOCALMAP
22c937
  	if (map_table == curbuf->b_maphash)
22c937
  	    curbuf->b_mapped_ctrl_c |= mode;
22c937
  	else
22c937
+ #endif
22c937
  	    mapped_ctrl_c |= mode;
22c937
      }
22c937
  
22c937
*** ../vim-7.4.570/src/version.c	2015-01-14 14:04:05.511397639 +0100
22c937
--- src/version.c	2015-01-14 14:07:02.889464623 +0100
22c937
***************
22c937
*** 743,744 ****
22c937
--- 743,746 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     571,
22c937
  /**/
22c937
22c937
-- 
22c937
hundred-and-one symptoms of being an internet addict:
22c937
91. It's Saturday afternoon in the middle of May and you
22c937
    are on computer.
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///