mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
STRLEN -> strlen
This commit is contained in:
parent
1f952e34f2
commit
2bb22ce567
@ -4358,7 +4358,6 @@ static void cmdline_search_stat(int dirc, pos_T *pos, pos_T *cursor_pos,
|
||||
timeout);
|
||||
if (stat.cur > 0) {
|
||||
char t[SEARCH_STAT_BUF_LEN];
|
||||
size_t len;
|
||||
|
||||
if (curwin->w_p_rl && *curwin->w_p_rlc == 's') {
|
||||
if (stat.incomplete == 1) {
|
||||
@ -4388,7 +4387,7 @@ static void cmdline_search_stat(int dirc, pos_T *pos, pos_T *cursor_pos,
|
||||
}
|
||||
}
|
||||
|
||||
len = STRLEN(t);
|
||||
size_t len = strlen(t);
|
||||
if (show_top_bot_msg && len + 2 < SEARCH_STAT_BUF_LEN) {
|
||||
memmove(t + 2, t, len);
|
||||
t[0] = 'W';
|
||||
|
Loading…
Reference in New Issue
Block a user