Blame SOURCES/7.4.540

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.540
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.540 (after 7.4.539)
22c937
Problem:    Cannot build with tiny and small features. (Taro Muraoka)
22c937
Solution:   Add #ifdef around CMD_USER.
22c937
Files:	    src/ex_docmd.c
22c937
22c937
22c937
*** ../vim-7.4.539/src/ex_docmd.c	2014-11-30 14:50:12.259356186 +0100
22c937
--- src/ex_docmd.c	2014-11-30 22:32:24.213687119 +0100
22c937
***************
22c937
*** 2129,2135 ****
22c937
   * is equal to the lower.
22c937
   */
22c937
  
22c937
!     if (ea.cmdidx != CMD_USER && ea.cmdidx != CMD_SIZE)
22c937
  	ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
22c937
      else
22c937
  	ea.addr_type = ADDR_LINES;
22c937
--- 2129,2139 ----
22c937
   * is equal to the lower.
22c937
   */
22c937
  
22c937
!     if (ea.cmdidx != CMD_SIZE
22c937
! #ifdef FEAT_USR_CMDS
22c937
! 	&& ea.cmdidx != CMD_USER
22c937
! #endif
22c937
!        )
22c937
  	ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
22c937
      else
22c937
  	ea.addr_type = ADDR_LINES;
22c937
*** ../vim-7.4.539/src/version.c	2014-11-30 14:50:12.259356186 +0100
22c937
--- src/version.c	2014-11-30 22:34:06.820539874 +0100
22c937
***************
22c937
*** 743,744 ****
22c937
--- 743,746 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     540,
22c937
  /**/
22c937
22c937
-- 
22c937
SECOND SOLDIER: It could be carried by an African swallow!
22c937
FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
22c937
                swallow. that's my point.
22c937
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
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    ///