Patch 8.0.0221
Problem:    Checking if PROTO is defined inside a function has no effect.
Solution:   Remove the check for PROTO. (Hirohito Higashi)
Files:      src/misc1.c


*** ../vim-8.0.0220/src/misc1.c 2017-01-21 22:49:56.142666237 +0100
--- src/misc1.c 2017-01-22 19:28:56.659188907 +0100
***************
*** 2180,2186 ****
      char_u    buf[MB_MAXBYTES + 1];
      int               n = 1;
  
! #if defined(FEAT_MBYTE) || defined(PROTO)
      n = (*mb_char2bytes)(c, buf);
  
      /* When "c" is 0x100, 0x200, etc. we don't want to insert a NUL byte.
--- 2180,2186 ----
      char_u    buf[MB_MAXBYTES + 1];
      int               n = 1;
  
! #ifdef FEAT_MBYTE
      n = (*mb_char2bytes)(c, buf);
  
      /* When "c" is 0x100, 0x200, etc. we don't want to insert a NUL byte.
*** ../vim-8.0.0220/src/version.c       2017-01-22 19:25:28.228530629 +0100
--- src/version.c       2017-01-22 19:29:41.518900232 +0100
***************
*** 766,767 ****
--- 766,769 ----
  {   /* Add new patch number below this line */
+ /**/
+     221,
  /**/

-- 
What the word 'politics' means: 'Poli' in Latin meaning 'many' and 'tics'
meaning 'bloodsucking creatures'.

 /// 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.

Raspunde prin e-mail lui