1
0
forked from aniani/vim

updated for version 7.3.535

Problem:    Many #ifdefs for MB_MAXBYTES.
Solution:   Also define MB_MAXBYTES without the +multi_byte feature.  Fix
            places where the buffer didn't include space for a NUL byte.
This commit is contained in:
Bram Moolenaar
2012-06-01 15:21:02 +02:00
parent 704984ac87
commit 9a920d8c31
10 changed files with 24 additions and 38 deletions

View File

@@ -13694,7 +13694,7 @@ similar_chars(slang, c1, c2)
{
int m1, m2;
#ifdef FEAT_MBYTE
char_u buf[MB_MAXBYTES];
char_u buf[MB_MAXBYTES + 1];
hashitem_T *hi;
if (c1 >= 256)