0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.1.0810: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Graduate FEAT_MBYTE, part 4.
This commit is contained in:
Bram Moolenaar
2019-01-24 17:18:42 +01:00
parent a12a161b8c
commit 264b74fa54
25 changed files with 204 additions and 877 deletions

View File

@@ -820,7 +820,6 @@ sign_define_init_text(sign_T *sp, char_u *text)
}
// Count cells and check for non-printable chars
# ifdef FEAT_MBYTE
if (has_mbyte)
{
cells = 0;
@@ -832,7 +831,6 @@ sign_define_init_text(sign_T *sp, char_u *text)
}
}
else
# endif
{
for (s = text; s < endp; ++s)
if (!vim_isprintc(*s))