Karsten Hopp b3d7fd
To: vim_dev@googlegroups.com
Karsten Hopp b3d7fd
Subject: Patch 7.4.824
Karsten Hopp b3d7fd
Fcc: outbox
Karsten Hopp b3d7fd
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp b3d7fd
Mime-Version: 1.0
Karsten Hopp b3d7fd
Content-Type: text/plain; charset=UTF-8
Karsten Hopp b3d7fd
Content-Transfer-Encoding: 8bit
Karsten Hopp b3d7fd
------------
Karsten Hopp b3d7fd
Karsten Hopp b3d7fd
Patch 7.4.824 (after 7.4.813)
Karsten Hopp b3d7fd
Problem:    Can't compile without the multi-byte feature. (John Marriott)
Karsten Hopp b3d7fd
Solution:   Add #ifdef.
Karsten Hopp b3d7fd
Files:      src/eval.c
Karsten Hopp b3d7fd
Karsten Hopp b3d7fd
Karsten Hopp b3d7fd
*** ../vim-7.4.823/src/eval.c	2015-08-11 19:13:55.134175736 +0200
Karsten Hopp b3d7fd
--- src/eval.c	2015-08-12 22:54:53.127060295 +0200
Karsten Hopp b3d7fd
***************
Karsten Hopp b3d7fd
*** 17046,17058 ****
Karsten Hopp b3d7fd
--- 17046,17061 ----
Karsten Hopp b3d7fd
  	csearch = get_dict_string(d, (char_u *)"char", FALSE);
Karsten Hopp b3d7fd
  	if (csearch != NULL)
Karsten Hopp b3d7fd
  	{
Karsten Hopp b3d7fd
+ #ifdef FEAT_MBYTE
Karsten Hopp b3d7fd
  	    if (enc_utf8)
Karsten Hopp b3d7fd
  	    {
Karsten Hopp b3d7fd
  		int pcc[MAX_MCO];
Karsten Hopp b3d7fd
  		int c = utfc_ptr2char(csearch, pcc);
Karsten Hopp b3d7fd
+ 
Karsten Hopp b3d7fd
  		set_last_csearch(c, csearch, utfc_ptr2len(csearch));
Karsten Hopp b3d7fd
  	    }
Karsten Hopp b3d7fd
  	    else
Karsten Hopp b3d7fd
+ #endif
Karsten Hopp b3d7fd
  		set_last_csearch(mb_ptr2char(csearch),
Karsten Hopp b3d7fd
  						csearch, mb_ptr2len(csearch));
Karsten Hopp b3d7fd
  	}
Karsten Hopp b3d7fd
*** ../vim-7.4.823/src/version.c	2015-08-11 19:36:37.054004134 +0200
Karsten Hopp b3d7fd
--- src/version.c	2015-08-12 22:56:43.929751435 +0200
Karsten Hopp b3d7fd
***************
Karsten Hopp b3d7fd
*** 743,744 ****
Karsten Hopp b3d7fd
--- 743,746 ----
Karsten Hopp b3d7fd
  {   /* Add new patch number below this line */
Karsten Hopp b3d7fd
+ /**/
Karsten Hopp b3d7fd
+     824,
Karsten Hopp b3d7fd
  /**/
Karsten Hopp b3d7fd
Karsten Hopp b3d7fd
-- 
Karsten Hopp b3d7fd
ARTHUR:        I command you as King of the Britons to stand aside!
Karsten Hopp b3d7fd
BLACK KNIGHT:  I move for no man.
Karsten Hopp b3d7fd
                                  The Quest for the Holy Grail (Monty Python)
Karsten Hopp b3d7fd
Karsten Hopp b3d7fd
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp b3d7fd
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp b3d7fd
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp b3d7fd
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///