forked from aniani/vim
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.
|
||||
|
Reference in New Issue
Block a user