mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
vim-patch:8.1.1350: "W" for wrapping not shown when more than 99 matches
Problem: "W" for wrapping not shown when more than 99 matches.
Solution: Adjust check for length. (Masato Nishihata, closes vim/vim#4388)
dc6855af97
This commit is contained in:
@@ -4286,7 +4286,7 @@ static void search_stat(int dirc, pos_T *pos,
|
||||
}
|
||||
|
||||
len = STRLEN(t);
|
||||
if (show_top_bot_msg && len + 3 < SEARCH_STAT_BUF_LEN) {
|
||||
if (show_top_bot_msg && len + 2 < SEARCH_STAT_BUF_LEN) {
|
||||
STRCPY(t + len, " W");
|
||||
len += 2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user