Patch 7.4.824 (after 7.4.813)
Problem: Can't compile without the multi-byte feature. (John Marriott)
Solution: Add #ifdef.
Files: src/eval.c
*** ../vim-7.4.823/src/eval.c 2015-08-11 19:13:55.134175736 +0200
--- src/eval.c 2015-08-12 22:54:53.127060295 +0200
***************
*** 17046,17058 ****
--- 17046,17061 ----
csearch = get_dict_string(d, (char_u *)"char", FALSE);
if (csearch != NULL)
{
+ #ifdef FEAT_MBYTE
if (enc_utf8)
{
int pcc[MAX_MCO];
int c = utfc_ptr2char(csearch, pcc);
+
set_last_csearch(c, csearch, utfc_ptr2len(csearch));
}
else
+ #endif
set_last_csearch(mb_ptr2char(csearch),
csearch, mb_ptr2len(csearch));
}
*** ../vim-7.4.823/src/version.c 2015-08-11 19:36:37.054004134 +0200
--- src/version.c 2015-08-12 22:56:43.929751435 +0200
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 824,
/**/
--
ARTHUR: I command you as King of the Britons to stand aside!
BLACK KNIGHT: I move for no man.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.