diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-31 22:27:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-31 22:27:40 +0200 |
commit | 42356150badca33b4e42dc8172abbceff2e86cbe (patch) | |
tree | ca62b0037477bd26896097f147a1b49823f93572 /src/window.c | |
parent | 758535a1df4c5e86b45dddf12db2a54dea28ca40 (diff) | |
download | vim-42356150badca33b4e42dc8172abbceff2e86cbe.zip |
patch 7.4.1690
Problem: Can't compile with the conceal feature but without multi-byte.
Solution: Adjust #ifdef. (Owen Leibman)
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 9530ef502..c7905aec5 100644 --- a/src/window.c +++ b/src/window.c @@ -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) |