diff options
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 8b6bab12fc..41bf38d76b 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -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 = '-'; } |