aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2022-04-24 20:13:23 -0600
committerGitHub <noreply@github.com>2022-04-24 20:13:23 -0600
commitcf2d77763f93407db4669b20ef15c708e0e807d7 (patch)
treedf56d70703e47defa2f9b977188faed5360dc06d /src/nvim/screen.c
parentc58219413514caf035ac52eb85b84b1ff31d4722 (diff)
parent88270a57358e4009537de9435c19fcb17e66ffdd (diff)
downloadrneovim-cf2d77763f93407db4669b20ef15c708e0e807d7.tar.gz
rneovim-cf2d77763f93407db4669b20ef15c708e0e807d7.tar.bz2
rneovim-cf2d77763f93407db4669b20ef15c708e0e807d7.zip
Merge pull request #18110 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index c6fd9e5dff..807503fd00 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -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;