aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-04-14 12:37:17 +0200
committerDundar Goc <gocdundar@gmail.com>2022-04-16 13:07:35 +0200
commit7a2fcbbbecc96c0179aa9449a1d4e3b5d936a054 (patch)
tree0ff8d62b637e30a8cdfc435295ec23ccabf670d0 /src/nvim/screen.c
parent3f2e9298bdd971a4d2baa298aff7c6f2c2c1ad1a (diff)
downloadrneovim-7a2fcbbbecc96c0179aa9449a1d4e3b5d936a054.tar.gz
rneovim-7a2fcbbbecc96c0179aa9449a1d4e3b5d936a054.tar.bz2
rneovim-7a2fcbbbecc96c0179aa9449a1d4e3b5d936a054.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
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;