mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
refactor: rename function prefix mb to the more accurate utf_cp (#19590)
The "cp" stands for codepoint. Closes https://github.com/neovim/neovim/issues/7401
This commit is contained in:
@@ -3288,7 +3288,7 @@ void maketitle(void)
|
||||
len = (int)STRLEN(buf_p);
|
||||
if (len > 100) {
|
||||
len -= 100;
|
||||
len += mb_tail_off(buf_p, buf_p + len) + 1;
|
||||
len += utf_cp_tail_off(buf_p, buf_p + len) + 1;
|
||||
buf_p += len;
|
||||
}
|
||||
STRCPY(icon_str, buf_p);
|
||||
|
Reference in New Issue
Block a user