refactor(multibyte): eliminate mb_char2len alias for utf_char2len

This commit is contained in:
Björn Linse
2021-11-14 12:48:42 +01:00
parent 0039ba04b0
commit 71a4d275dc
10 changed files with 25 additions and 28 deletions

View File

@@ -3461,7 +3461,7 @@ int build_stl_str_hl(win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use
if (fillchar == 0) {
fillchar = ' ';
} else if (mb_char2len(fillchar) > 1) {
} else if (utf_char2len(fillchar) > 1) {
// Can't handle a multi-byte fill character yet.
fillchar = '-';
}