mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
refactor: replace char_u with char 17 - remove STRLCPY (#21235)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -3106,7 +3106,7 @@ static char_u *ins_comp_get_next_word_or_line(buf_T *ins_buf, pos_T *cur_match_p
|
||||
if (tmp_ptr - ptr >= IOSIZE - len) {
|
||||
tmp_ptr = ptr + IOSIZE - len - 1;
|
||||
}
|
||||
STRLCPY(IObuff + len, ptr, IOSIZE - len);
|
||||
xstrlcpy(IObuff + len, ptr, (size_t)(IOSIZE - len));
|
||||
len += (int)(tmp_ptr - ptr);
|
||||
*cont_s_ipos = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user