Skip to content

Commit 6a8ede9

Browse files
committed
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)
1 parent 15eedf1 commit 6a8ede9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/misc1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@ ins_char(int c)
21802180
char_u buf[MB_MAXBYTES + 1];
21812181
int n = 1;
21822182

2183-
#if defined(FEAT_MBYTE) || defined(PROTO)
2183+
#ifdef FEAT_MBYTE
21842184
n = (*mb_char2bytes)(c, buf);
21852185

21862186
/* When "c" is 0x100, 0x200, etc. we don't want to insert a NUL byte.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
221,
767769
/**/
768770
220,
769771
/**/

0 commit comments

Comments
 (0)