mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 10:26:31 +00:00
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -4900,7 +4900,7 @@ static int status_match_len(expand_T *xp, char_u *s)
|
||||
|| xp->xp_context == EXPAND_MENUNAMES);
|
||||
|
||||
// Check for menu separators - replace with '|'.
|
||||
if (emenu && menu_is_separator(s)) {
|
||||
if (emenu && menu_is_separator((char *)s)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -5036,7 +5036,7 @@ void win_redr_status_matches(expand_T *xp, int num_matches, char_u **matches, in
|
||||
// Check for menu separators - replace with '|'
|
||||
emenu = (xp->xp_context == EXPAND_MENUS
|
||||
|| xp->xp_context == EXPAND_MENUNAMES);
|
||||
if (emenu && menu_is_separator(s)) {
|
||||
if (emenu && menu_is_separator((char *)s)) {
|
||||
STRCPY(buf + len, transchar('|'));
|
||||
l = (int)STRLEN(buf + len);
|
||||
len += l;
|
||||
|
Reference in New Issue
Block a user