aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-08 14:43:16 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-11 23:19:57 +0200
commit85aae12a6dea48621ea2d24a946b3e7b86f9014d (patch)
treed9d45a2bdde3b462f58d98b88694bad0183c2b16 /src/nvim/option.c
parent5359be78935dc639c481d74f010fe133dd40290c (diff)
downloadrneovim-85aae12a6dea48621ea2d24a946b3e7b86f9014d.tar.gz
rneovim-85aae12a6dea48621ea2d24a946b3e7b86f9014d.tar.bz2
rneovim-85aae12a6dea48621ea2d24a946b3e7b86f9014d.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 81b1ab5b2b..66d9d2843c 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -8161,13 +8161,13 @@ size_t copy_option_part(char_u **option, char_u *buf, size_t maxlen, char *sep_c
/// Return true when 'shell' has "csh" in the tail.
int csh_like_shell(void)
{
- return strstr((char *)path_tail(p_sh), "csh") != NULL;
+ return strstr(path_tail((char *)p_sh), "csh") != NULL;
}
/// Return true when 'shell' has "fish" in the tail.
bool fish_like_shell(void)
{
- return strstr((char *)path_tail(p_sh), "fish") != NULL;
+ return strstr(path_tail((char *)p_sh), "fish") != NULL;
}
/// Return the number of requested sign columns, based on current