forked from aniani/vim
patch 7.4.1690
Problem: Can't compile with the conceal feature but without multi-byte. Solution: Adjust #ifdef. (Owen Leibman)
This commit is contained in:
@@ -6746,11 +6746,11 @@ match_add(
|
||||
m->match.regprog = regprog;
|
||||
m->match.rmm_ic = FALSE;
|
||||
m->match.rmm_maxcol = 0;
|
||||
#ifdef FEAT_CONCEAL
|
||||
# if defined(FEAT_CONCEAL) && defined(FEAT_MBYTE)
|
||||
m->conceal_char = 0;
|
||||
if (conceal_char != NULL)
|
||||
m->conceal_char = (*mb_ptr2char)(conceal_char);
|
||||
#endif
|
||||
# endif
|
||||
|
||||
/* Set up position matches */
|
||||
if (pos_list != NULL)
|
||||
|
Reference in New Issue
Block a user