mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
refactor(mbyte.c): add const qualifiers
This only touches functions that do not return a pointer. Also add a note about the differences between mb_head_off() and utf_head_off().
This commit is contained in:
@@ -3327,7 +3327,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 += mb_tail_off(buf_p, buf_p + len) + 1;
|
||||
buf_p += len;
|
||||
}
|
||||
STRCPY(icon_str, buf_p);
|
||||
|
Reference in New Issue
Block a user