jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
8b9a1c
To: vim_dev@googlegroups.com
8b9a1c
Subject: Patch 7.4.092
8b9a1c
Fcc: outbox
8b9a1c
From: Bram Moolenaar <Bram@moolenaar.net>
8b9a1c
Mime-Version: 1.0
8b9a1c
Content-Type: text/plain; charset=UTF-8
8b9a1c
Content-Transfer-Encoding: 8bit
8b9a1c
------------
8b9a1c
8b9a1c
Patch 7.4.092 (after 7.4.088)
8b9a1c
Problem:    Can't build small version.
8b9a1c
Solution:   Add #ifdef where the b_cjk flag is used. (Ken Takata)
8b9a1c
Files:      src/spell.c
8b9a1c
8b9a1c
8b9a1c
*** ../vim-7.4.091/src/spell.c	2013-11-12 04:43:57.000000000 +0100
8b9a1c
--- src/spell.c	2013-11-14 03:51:24.000000000 +0100
8b9a1c
***************
8b9a1c
*** 4234,4240 ****
8b9a1c
--- 4234,4242 ----
8b9a1c
      if (spl_copy == NULL)
8b9a1c
  	goto theend;
8b9a1c
  
8b9a1c
+ #ifdef FEAT_MBYTE
8b9a1c
      wp->w_s->b_cjk = 0;
8b9a1c
+ #endif
8b9a1c
  
8b9a1c
      /* Loop over comma separated language names. */
8b9a1c
      for (splp = spl_copy; *splp != NUL; )
8b9a1c
***************
8b9a1c
*** 4246,4252 ****
8b9a1c
--- 4248,4256 ----
8b9a1c
  
8b9a1c
  	if (STRCMP(lang, "cjk") == 0)
8b9a1c
  	{
8b9a1c
+ #ifdef FEAT_MBYTE
8b9a1c
  	    wp->w_s->b_cjk = 1;
8b9a1c
+ #endif
8b9a1c
  	    continue;
8b9a1c
  	}
8b9a1c
  
8b9a1c
*** ../vim-7.4.091/src/version.c	2013-11-12 18:09:20.000000000 +0100
8b9a1c
--- src/version.c	2013-11-14 03:52:18.000000000 +0100
8b9a1c
***************
8b9a1c
*** 740,741 ****
8b9a1c
--- 740,743 ----
8b9a1c
  {   /* Add new patch number below this line */
8b9a1c
+ /**/
8b9a1c
+     92,
8b9a1c
  /**/
8b9a1c
8b9a1c
-- 
8b9a1c
ARTHUR: Old woman!
8b9a1c
DENNIS: Man!
8b9a1c
ARTHUR: Man.  I'm sorry.  Old man, What knight live in that castle over there?
8b9a1c
DENNIS: I'm thirty-seven.
8b9a1c
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
8b9a1c
8b9a1c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
8b9a1c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
8b9a1c
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
8b9a1c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///