Mercurial > vim
comparison src/eval.c @ 8804:75446578a52f v7.4.1690
commit https://github.com/vim/vim/commit/42356150badca33b4e42dc8172abbceff2e86cbe
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 31 22:27:40 2016 +0200
patch 7.4.1690
Problem: Can't compile with the conceal feature but without multi-byte.
Solution: Adjust #ifdef. (Owen Leibman)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Mar 2016 22:30:06 +0200 |
parents | dda254280bab |
children | 6b70b9cdebfc |
comparison
equal
deleted
inserted
replaced
8803:796eaaa9ef4b | 8804:75446578a52f |
---|---|
12784 dict_add_nr_str(dict, "pattern", 0L, cur->pattern); | 12784 dict_add_nr_str(dict, "pattern", 0L, cur->pattern); |
12785 } | 12785 } |
12786 dict_add_nr_str(dict, "group", 0L, syn_id2name(cur->hlg_id)); | 12786 dict_add_nr_str(dict, "group", 0L, syn_id2name(cur->hlg_id)); |
12787 dict_add_nr_str(dict, "priority", (long)cur->priority, NULL); | 12787 dict_add_nr_str(dict, "priority", (long)cur->priority, NULL); |
12788 dict_add_nr_str(dict, "id", (long)cur->id, NULL); | 12788 dict_add_nr_str(dict, "id", (long)cur->id, NULL); |
12789 # ifdef FEAT_CONCEAL | 12789 # if defined(FEAT_CONCEAL) && defined(FEAT_MBYTE) |
12790 if (cur->conceal_char) | 12790 if (cur->conceal_char) |
12791 { | 12791 { |
12792 char_u buf[MB_MAXBYTES + 1]; | 12792 char_u buf[MB_MAXBYTES + 1]; |
12793 | 12793 |
12794 buf[(*mb_char2bytes)((int)cur->conceal_char, buf)] = NUL; | 12794 buf[(*mb_char2bytes)((int)cur->conceal_char, buf)] = NUL; |