0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.0.0221: unnecessary condition on PROTO

Problem:    Checking if PROTO is defined inside a function has no effect.
Solution:   Remove the check for PROTO. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2017-01-22 19:49:12 +01:00
parent 15eedf1d62
commit 6a8ede99dd
2 changed files with 3 additions and 1 deletions

View File

@@ -2180,7 +2180,7 @@ ins_char(int c)
char_u buf[MB_MAXBYTES + 1];
int n = 1;
#if defined(FEAT_MBYTE) || defined(PROTO)
#ifdef FEAT_MBYTE
n = (*mb_char2bytes)(c, buf);
/* When "c" is 0x100, 0x200, etc. we don't want to insert a NUL byte.

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
221,
/**/
220,
/**/