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:
@@ -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.
|
||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
221,
|
||||
/**/
|
||||
220,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user