lkundrak / rpms / vim

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