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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user